diff options
Diffstat (limited to 'hosts/common/desktop/default.nix')
| -rw-r--r-- | hosts/common/desktop/default.nix | 23 |
1 files changed, 11 insertions, 12 deletions
diff --git a/hosts/common/desktop/default.nix b/hosts/common/desktop/default.nix index 3496df9..3a651ea 100644 --- a/hosts/common/desktop/default.nix +++ b/hosts/common/desktop/default.nix @@ -1,22 +1,21 @@ -{ lib -, desktop -, ... -}: -let - gui = desktop != ""; -in { + lib, + desktop, + ... +}: let + gui = desktop != ""; +in { imports = - [ ] + [] ++ ( if (desktop == "gnome") - then [ ./gnome.nix ] - else [ ] + then [./gnome.nix] + else [] ) ++ ( if (desktop == "plasma") - then [ ./plasma.nix ] - else [ ] + then [./plasma.nix] + else [] ); environment.noXlibs = lib.mkForce false; |
