diff --git a/hosts/default/home.nix b/hosts/default/home.nix index 41546b8..ba31265 100644 --- a/hosts/default/home.nix +++ b/hosts/default/home.nix @@ -3,7 +3,7 @@ { imports = [ - ../../modules/hyprland.nix + ../../modules ../../modules/games ../../modules/applications ../../common/nvim/nvim.nix @@ -27,7 +27,8 @@ nixpkgs.config.allowUnfree = true; modules = { - hyprland.enable = true; + hyprland.enable = false; + plasma.enable = true; games.enable = true; apps = { enable = true; diff --git a/modules/default.nix b/modules/default.nix new file mode 100644 index 0000000..9a8e47c --- /dev/null +++ b/modules/default.nix @@ -0,0 +1,8 @@ +{...}: +{ + imports = [ + ./hyprland.nix + ./plasma + ./games + ]; +} diff --git a/modules/plasma/default.nix b/modules/plasma/default.nix new file mode 100644 index 0000000..35aa358 --- /dev/null +++ b/modules/plasma/default.nix @@ -0,0 +1,16 @@ +{ config, lib, pkgs, inputs, ... }: +let + cfg = config.modules.plasma; +in +{ + options.modules.plasma = { + enable = lib.mkEnableOption "enable kde plasma 6"; + }; + + imports = [ + ]; + + config = lib.mkIf cfg.enable { + services.desktopManager.plasma6.enable = true; + }; +}