diff options
Diffstat (limited to 'components/gui/plasma.nix')
| -rw-r--r-- | components/gui/plasma.nix | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/components/gui/plasma.nix b/components/gui/plasma.nix new file mode 100644 index 0000000..fc6b6eb --- /dev/null +++ b/components/gui/plasma.nix @@ -0,0 +1,20 @@ +{lib, config, pkgs, ...}: { + options.plasma.enable = lib.mkEnableOption "KDE Plasma"; + + config = lib.mkIf config.plasma.enable { + services.desktopManager.plasma6.enable = true; + + # XDG + xdg.portal.extraPortals = with pkgs.kdePackages; [ xdg-desktop-portal-kde ]; + + # Packages + environment.systemPackages = with pkgs.kdePackages; [ + kate filelight + + flatpak-kcm + ]; + + # Excluded + environment.plasma6.excludePackages = with pkgs.kdePackages; [ plasma-browser-integration elisa discover ]; + }; +} |
