diff --git a/flake.nix b/flake.nix index 1864408..4689792 100644 --- a/flake.nix +++ b/flake.nix @@ -69,7 +69,8 @@ home-manager.extraSpecialArgs = { inherit inputs; }; } ] ++ lib.optional (desktop == "sway") ./system/sway.nix - ++ lib.optional (desktop == "gnome") ./system/gnome.nix; + ++ lib.optional (desktop == "gnome") ./system/gnome.nix + ++ lib.optional (desktop == "kde") ./system/kde.nix; in { nixosConfigurations = { i15 = lib.nixosSystem { diff --git a/system/kde.nix b/system/kde.nix new file mode 100644 index 0000000..66aa2a2 --- /dev/null +++ b/system/kde.nix @@ -0,0 +1,14 @@ +{ config, pkgs, ... }: { + # Enable the X11 windowing system. + services.xserver.enable = true; + # Enable the KDE Desktop Environment. + services.xserver.displayManager.sddm.enable = true; + services.xserver.desktopManager.plasma5.enable = true; + # services.xserver.displayManager.autologin.user = "lelgenio"; + programs.dconf.enable = true; + # environment.systemPackages = with pkgs; + # with gnome; [ + # gnome-tweaks + # dconf-editor + # ]; +}