2024-06-29 03:45:06 -04:00
|
|
|
{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 = {
|
2024-06-29 03:45:06 -04:00
|
|
|
enable = true;
|
2024-06-29 23:00:49 -04:00
|
|
|
wayland.enable = true;
|
|
|
|
autoLogin.relogin = true;
|
|
|
|
};
|
2024-06-29 22:53:47 -04:00
|
|
|
|
2024-06-29 23:00:49 -04:00
|
|
|
autoLogin = {
|
|
|
|
enable = true;
|
|
|
|
user = mainUser;
|
2024-06-29 03:45:06 -04:00
|
|
|
};
|
|
|
|
|
2024-06-29 22:55:16 -04:00
|
|
|
defaultSession = "plasma";
|
2024-06-29 03:45:06 -04:00
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
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;
|
|
|
|
};
|
2024-06-30 00:35:53 -04:00
|
|
|
|
|
|
|
# Takes way too long to shutdown
|
|
|
|
systemd.services."decky-loader".serviceConfig.TimeoutStopSec = "5";
|
2024-06-29 03:45:06 -04:00
|
|
|
}
|