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
|
|
|
];
|
|
|
|
|
2024-03-16 13:18:17 -04:00
|
|
|
# Enable SDDM + Plasma Desktop.
|
|
|
|
services = {
|
|
|
|
desktopManager.plasma6.enable = true;
|
|
|
|
xserver = {
|
2024-03-17 17:55:37 -04:00
|
|
|
displayManager.sddm = {
|
2024-03-22 14:09:25 -04:00
|
|
|
enable = true;
|
2024-03-17 17:55:37 -04:00
|
|
|
wayland.enable = true;
|
|
|
|
};
|
2024-03-16 13:18:17 -04:00
|
|
|
};
|
|
|
|
};
|
2024-02-29 17:06:55 -05:00
|
|
|
|
|
|
|
environment.systemPackages = with pkgs; [
|
2024-03-05 20:50:19 -05:00
|
|
|
kdePackages.kate
|
|
|
|
kdePackages.kimageformats
|
2024-03-17 17:55:37 -04:00
|
|
|
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;
|
|
|
|
# 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;
|
|
|
|
}
|