diff options
| author | seth <[email protected]> | 2024-03-07 14:13:18 -0500 |
|---|---|---|
| committer | seth <[email protected]> | 2024-03-07 14:13:18 -0500 |
| commit | 311c56646b776f9ce4cdf9c536ec2d87cf2f1cb8 (patch) | |
| tree | 77f253c95564b17e0104672cb56ece3776603f73 /modules/nixos/desktop/plasma5 | |
| parent | 1a25f5e769084626dece9af4a675b9dd69146c4b (diff) | |
nixos/desktop: update to plasma 6
Diffstat (limited to 'modules/nixos/desktop/plasma5')
| -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; + }; + }; + }; +} |
