mirror of
https://github.com/foo-dogsquared/nixos-config.git
synced 2025-02-07 06:19:00 +00:00
hosts/ni/setups/desktop: update config
This commit is contained in:
parent
b53c6f7dfb
commit
e5226d80f7
@ -5,7 +5,7 @@ let
|
||||
cfg = hostCfg.setups.desktop;
|
||||
|
||||
hasAnyWorkflowEnabled = workflows:
|
||||
lib.lists.any (workflow: config.workflows.workflows.${workflow}.enable) workflows;
|
||||
lib.lists.any (workflow: lib.elem workflow config.workflows.enable) workflows;
|
||||
in
|
||||
{
|
||||
options.hosts.ni.setups.desktop.enable =
|
||||
@ -40,7 +40,7 @@ in
|
||||
suites.i18n.enable = true;
|
||||
|
||||
# ...which is by the way is this one.
|
||||
workflows.workflows.a-happy-gnome.enable = true;
|
||||
workflows.enable = [ "a-happy-gnome" ];
|
||||
}
|
||||
|
||||
(lib.mkIf (hasAnyWorkflowEnabled [ "a-happy-gnome" "knome" ]) {
|
||||
|
Loading…
Reference in New Issue
Block a user