diff options
Diffstat (limited to 'modules/hosts/desktop')
| -rw-r--r-- | modules/hosts/desktop/default.nix | 19 |
1 files changed, 11 insertions, 8 deletions
diff --git a/modules/hosts/desktop/default.nix b/modules/hosts/desktop/default.nix index 137b68c..7d7f3ae 100644 --- a/modules/hosts/desktop/default.nix +++ b/modules/hosts/desktop/default.nix @@ -1,14 +1,17 @@ -{ ... }: +{ useHomeManager ? true, ... }: { imports = [ - #./sway - #./dunst.nix - #./waybar.nix - #./gnome + # NixOS-only modules (no home-manager) ./cinnamon + ./gnome ./kde - #./labwc - #./hyprland - ]; + ] ++ (if useHomeManager then [ + # Modules that require home-manager + ./hyprland + ./labwc + ./sway + ./dunst.nix + ./waybar.nix + ] else [ ]); } |
