aboutsummaryrefslogtreecommitdiffstats
path: root/modules/nixos/sils/plasma.nix
diff options
context:
space:
mode:
Diffstat (limited to 'modules/nixos/sils/plasma.nix')
-rw-r--r--modules/nixos/sils/plasma.nix29
1 files changed, 29 insertions, 0 deletions
diff --git a/modules/nixos/sils/plasma.nix b/modules/nixos/sils/plasma.nix
new file mode 100644
index 0000000..f196447
--- /dev/null
+++ b/modules/nixos/sils/plasma.nix
@@ -0,0 +1,29 @@
+{
+ config,
+ lib,
+ pkgs,
+ ...
+}: let
+ cfg = config.sils.plasma;
+in {
+ options.sils.plasma.enable = lib.mkEnableOption "KDE Plasma";
+ config = lib.mkIf cfg.enable {
+ services = {
+ greetd.enable = lib.mkForce false;
+ tlp.enable = lib.mkForce false;
+ displayManager.sddm = {
+ enable = true;
+ settings.General.DisplayServer = "wayland";
+ wayland.enable = true;
+ };
+ desktopManager.plasma6 = {
+ enable = true;
+ };
+ };
+ environment.plasma6.excludePackages = with pkgs.kdePackages; [
+ kwallet
+ kwallet-pam
+ kwalletmanager
+ ];
+ };
+}