some more housecleaning and changing swap on cnixpad
This commit is contained in:
15
system/modules/sysd/session/dconf/default.nix
Normal file
15
system/modules/sysd/session/dconf/default.nix
Normal file
@@ -0,0 +1,15 @@
|
||||
{
|
||||
config,
|
||||
lib,
|
||||
...
|
||||
}: let
|
||||
inherit (lib) mkIf mkEnableOption;
|
||||
cfg = config.modules.sysd.session.dconf;
|
||||
in {
|
||||
options = {
|
||||
modules.sysd.session.dconf.enable = mkEnableOption "Enables dconf";
|
||||
};
|
||||
config = mkIf cfg.enable {
|
||||
programs.dconf.enable = true;
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user