nixcfg/desktop/kde.nix
2024-03-13 15:36:44 -04:00

32 lines
939 B
Nix

{ config, pkgs, ... }:
{
imports =
[ # Include X settings.
./common.nix
];
# Enable the KDE Plasma Desktop Environment.
services.xserver.displayManager.sddm.wayland.enable = true;
services.xserver.desktopManager.plasma6.enable = true;
environment.systemPackages = with pkgs; [
kdePackages.kate
kdePackages.kio-gdrive
kdePackages.kimageformats
kdePackages.discover
maliit-keyboard
];
environment.plasma6.excludePackages = with pkgs.kdePackages; [
konsole
];
programs.kdeconnect.enable = true;
# nixpkgs.config.firefox.enablePlasmaBrowserIntegration = true;
# nixpkgs.config.chromium.commandLineArgs = "--enable-features=UseOzonePlatform --ozone-platform=wayland --enable-features=WaylandWindowDecorations --ozone-platform-hint=auto";
services.gnome.gnome-keyring.enable = true;
security.pam.services.sddm.enableGnomeKeyring = true;
services.packagekit.enable = true;
}