nixcfg/modules/kde.nix

37 lines
930 B
Nix
Raw Normal View History

2024-02-29 17:06:55 -05:00
{ config, pkgs, ... }:
{
2024-03-05 20:17:27 -05:00
imports =
[ # Include X settings.
2024-03-16 12:25:28 -04:00
./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-18 22:18:34 -04:00
nheko
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;
# 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;
}