refactor(treewide): cleanup

This commit is contained in:
ooks-io 2024-04-30 20:20:35 +12:00
parent 2fe6c44941
commit 2d93503bbc
30 changed files with 76 additions and 273 deletions

View file

@ -1,14 +1,13 @@
{ lib, config, ... }:
let
inherit (lib) mkIf mkEnableOption;
cfg = config.systemModules.programs.dconf;
inherit (lib) mkIf;
inherit (builtins) elem;
host = config.systemModules.host;
in
{
options.systemModules.programs.dconf.enable = mkEnableOption "Enable dconf system module";
config = mkIf cfg.enable {
config = mkIf (elem "workstation" host.function){
programs.dconf.enable = true;
};
}