36 lines
816 B
Nix
36 lines
816 B
Nix
{ pkgs, ... }: {
|
|
|
|
# Enable the KDE Plasma Desktop Environment.
|
|
services.displayManager.sddm.enable = true;
|
|
services.desktopManager.plasma6.enable = true;
|
|
services.displayManager.sddm.settings = {
|
|
Autologin = {
|
|
Session = "plasma.desktop";
|
|
User = "kyren";
|
|
};
|
|
};
|
|
|
|
# Enable the X11 windowing system.
|
|
# You can disable this if you're only using the Wayland session.
|
|
services.xserver.enable = true;
|
|
|
|
# Configure keymap in X11
|
|
services.xserver.xkb = {
|
|
layout = "us";
|
|
variant = "";
|
|
};
|
|
|
|
# From when I tried hyprland, might aswell keep this?
|
|
xdg.portal = {
|
|
enable = true;
|
|
xdgOpenUsePortal = true;
|
|
|
|
extraPortals = with pkgs; [
|
|
kdePackages.xdg-desktop-portal-kde
|
|
xdg-desktop-portal-gtk
|
|
xdg-desktop-portal-wlr
|
|
];
|
|
};
|
|
|
|
}
|