{ povSelf, lib, config, ... }: let inherit (lib) types; cfg = lib.getAttrFromPath povSelf config; in { options = { enable = { type = types.bool; default = false; }; theme = { type = types.str; default = "bgrt"; }; }; config = lib.mkIf cfg.enable { boot = { consoleLogLevel = 0; initrd.verbose = false; kernelParams = [ "quiet" "udev.log_level=3" ]; plymouth = { enable = true; inherit (cfg) theme; }; }; }; }