nixcfg/modules/kde.nix

35 lines
916 B
Nix
Raw Normal View History

2024-02-29 17:06:55 -05:00
{ config, pkgs, ... }:
{
2024-03-24 19:44:09 -04:00
imports = [ # Include X settings.
./desktop.nix
];
2024-03-05 20:17:27 -05:00
# Enable SDDM + Plasma Desktop.
services = {
desktopManager.plasma6.enable = true;
xserver = {
displayManager.sddm = {
2024-03-22 14:09:25 -04:00
enable = true;
wayland.enable = true;
};
};
};
2024-02-29 17:06:55 -05:00
environment.systemPackages = with pkgs; [
2024-03-05 20:50:19 -05:00
kdePackages.kate
kdePackages.kimageformats
kdePackages.kio-gdrive
kdePackages.sddm-kcm
2024-03-05 20:50:31 -05:00
maliit-keyboard
2024-03-05 20:50:19 -05:00
];
2024-03-17 18:05:34 -04:00
environment.sessionVariables.NIXOS_OZONE_WL = "1";
2024-02-29 17:06:55 -05:00
programs.kdeconnect.enable = true;
2024-03-24 19:44:09 -04:00
# nixpkgs.config.firefox.enablePlasmaBrowserIntegration = true;
# nixpkgs.config.chromium.commandLineArgs = "--enable-features=UseOzonePlatform --ozone-platform=wayland --enable-features=WaylandWindowDecorations --ozone-platform-hint=auto";
2024-02-29 17:06:55 -05:00
services.gnome.gnome-keyring.enable = true;
security.pam.services.sddm.enableGnomeKeyring = true;
}