nixos-configs/devices/bbsteamie/modules/desktop.nix

44 lines
762 B
Nix
Raw Normal View History

{config, ...}: let
inherit (config.vars) mainUser;
in {
# Auto-login to plasma
services = {
desktopManager.plasma6.enable = true;
displayManager = {
2024-06-29 22:53:47 -04:00
sddm = {
enable = true;
2024-06-29 22:53:47 -04:00
autoLogin = {
enable = true;
relogin = true;
user = mainUser;
};
};
defaultSession = "plasmawayland";
};
};
programs = {
xwayland.enable = true;
kdeconnect.enable = true;
};
# Enable flatpak support
services.flatpak.enable = true;
services.packagekit.enable = true;
jovian.steam = {
enable = true;
user = mainUser;
desktopSession = config.services.displayManager.defaultSession;
};
jovian.decky-loader = {
enable = true;
user = mainUser;
};
}