nixos-configs/devices/bbsteamie/modules/desktop.nix
matt1432 2ceaaeff76
All checks were successful
Discord / discord commits (push) Has been skipped
feat(steamdeck): prepare config for eventual install
2024-06-29 03:45:06 -04:00

38 lines
680 B
Nix

{config, ...}: let
inherit (config.vars) mainUser;
in {
# Auto-login to plasma
services = {
desktopManager.plasma6.enable = true;
displayManager = {
autoLogin = {
enable = 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;
};
}