nixcfg/desktop/kde/default.nix
2024-03-05 20:50:19 -05:00

31 lines
903 B
Nix

{ config, pkgs, ... }:
{
imports =
[ # Include X settings.
../.
];
# Enable the KDE Plasma Desktop Environment.
services.xserver.displayManager.sddm.enable = true;
services.xserver.desktopManager.plasma6.enable = true;
environment.systemPackages = with pkgs; [
kdePackages.kate
kdePackages.kio-gdrive
kdePackages.kimageformats
kdePackages.discover
];
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;
}