refactor(system): flatten
This commit is contained in:
parent
24dee2cadc
commit
f47154c234
29 changed files with 32 additions and 268 deletions
13
inputs/system/modules/roles/workstation/programs/dconf.nix
Normal file
13
inputs/system/modules/roles/workstation/programs/dconf.nix
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
{ lib, config, ... }:
|
||||
|
||||
let
|
||||
inherit (lib) mkIf;
|
||||
inherit (builtins) elem;
|
||||
host = config.systemModules.host;
|
||||
in
|
||||
|
||||
{
|
||||
config = mkIf (elem "workstation" host.function){
|
||||
programs.dconf.enable = true;
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue