diff options
Diffstat (limited to 'modules/nixos/desktop/plasma5/default.nix')
| -rw-r--r-- | modules/nixos/desktop/plasma5/default.nix | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/modules/nixos/desktop/plasma5/default.nix b/modules/nixos/desktop/plasma5/default.nix new file mode 100644 index 0000000..be9edc8 --- /dev/null +++ b/modules/nixos/desktop/plasma5/default.nix @@ -0,0 +1,28 @@ +{ + config, + lib, + pkgs, + ... +}: let + cfg = config.desktop.plasma5; +in { + options.desktop.plasma5.enable = lib.mkEnableOption "Plasma 5 desktop"; + + config = lib.mkIf cfg.enable { + environment = { + plasma5.excludePackages = with pkgs.libsForQt5; [ + khelpcenter + plasma-browser-integration + print-manager + ]; + }; + + services.xserver = { + displayManager.sddm.enable = true; + desktopManager.plasma5 = { + enable = true; + useQtScaling = true; + }; + }; + }; +} |
