nixcfg/modules/kde.nix
2024-03-16 12:25:28 -04:00

28 lines
857 B
Nix

{ config, pkgs, ... }:
{
imports =
[ # Include X settings.
./desktop.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
];
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;
}