From 68cc9cbc1d33b82fb706d6d9ed281b41aa281d12 Mon Sep 17 00:00:00 2001 From: willifan Date: Sat, 18 Jan 2025 17:04:47 +0100 Subject: [PATCH] added plasma6 --- hosts/Puenktchen/default.nix | 3 ++- modules/default/common/desktop/default.nix | 1 + modules/default/common/desktop/plasma6.nix | 6 ++++++ modules/default/common/options.nix | 5 +++++ 4 files changed, 14 insertions(+), 1 deletion(-) create mode 100644 modules/default/common/desktop/plasma6.nix diff --git a/hosts/Puenktchen/default.nix b/hosts/Puenktchen/default.nix index 7008d4a..3d75539 100644 --- a/hosts/Puenktchen/default.nix +++ b/hosts/Puenktchen/default.nix @@ -15,7 +15,8 @@ hyprlock.enable = false; hypridle.enable = false; hyprpaper.enable = false; - wm.river.enable = true; + wm.plasma6.enable = true; + windowManager = "startplasma-wayland"; hyprland = { hardware.Puenktchen.enable = true; diff --git a/modules/default/common/desktop/default.nix b/modules/default/common/desktop/default.nix index 2737df8..fba83c2 100644 --- a/modules/default/common/desktop/default.nix +++ b/modules/default/common/desktop/default.nix @@ -13,6 +13,7 @@ ./nfs-client.nix ./nix-ld.nix ./pipewire.nix + ./plasma6.nix ./polkit.nix ./printers.nix ./remoteBuilder.nix diff --git a/modules/default/common/desktop/plasma6.nix b/modules/default/common/desktop/plasma6.nix new file mode 100644 index 0000000..c28ea49 --- /dev/null +++ b/modules/default/common/desktop/plasma6.nix @@ -0,0 +1,6 @@ +{ lib, config, ... }: +lib.mkIf config.desktop.wm.plasma6.enable { + services.desktopManager.plasma6 = { + enable = true; + }; +} diff --git a/modules/default/common/options.nix b/modules/default/common/options.nix index a59da09..90e3074 100644 --- a/modules/default/common/options.nix +++ b/modules/default/common/options.nix @@ -43,6 +43,11 @@ type = lib.types.str; }; + wm.plasma6.enable = lib.mkOption { + default = false; + type = lib.types.bool; + }; + }; server.enable = lib.mkOption { default = false;