diff --git a/modules/plasma.nix b/modules/plasma.nix new file mode 100644 index 0000000..068c3fb --- /dev/null +++ b/modules/plasma.nix @@ -0,0 +1,9 @@ +{ ... }: +{ + services.xserver = { + enable = true; + libinput.enable = true; + displayManager.sddm.enable = true; + desktopManager.plasma5.enable = true; + }; +} diff --git a/modules/profiles.nix b/modules/profiles.nix index bc5d219..da78a2d 100644 --- a/modules/profiles.nix +++ b/modules/profiles.nix @@ -5,7 +5,7 @@ let in { options.sconfig.profile = mkOption { - type = types.enum [ "server" "desktop-gnome" "desktop-sway" ]; + type = types.enum [ "server" "desktop-gnome" "desktop-sway" "desktop-plasma" ]; }; config = mkMerge [ @@ -17,6 +17,7 @@ in (mkIf (cfg == "desktop-sway") (import ./sway.nix { inherit pkgs; })) (mkIf (cfg == "desktop-gnome") (import ./gnome.nix { inherit pkgs; })) + (mkIf (cfg == "desktop-plasma") (import ./plasma.nix { inherit pkgs; })) (mkIf ("desktop-" == builtins.substring 0 8 cfg) (mkMerge [ (import ./security-tools.nix { inherit pkgs; })