2024-03-12 23:20:41 -07:00
{ modulesPath , config , lib , pkgs , . . . }: {
# Generic steam deck-specific configs that are reasonable for other people to refer to / use
jovian . steam = {
enable = true ;
# Boot straight into gamescope
autoStart = true ;
# We have to use this instead of services.xserver.displayManager.defaultSession
# https://jovian-experiments.github.io/Jovian-NixOS/options.html#jovian.steam.desktopSession
desktopSession = " p l a s m a w a y l a n d " ;
user = " v i v l i m " ; # it's me!
} ;
# Need to have this or we won't have steam available on the desktop (which is *very* funny)
programs . steam = {
enable = true ;
2024-03-13 01:32:41 -07:00
# Runs steam with https://github.com/Supreeeme/extest
# Without this, steam input on wayland sessions doesn't draw a visible cursor.
extest . enable = true ;
2024-03-12 23:20:41 -07:00
} ;
jovian . decky-loader = {
enable = true ;
} ;
jovian . devices . steamdeck = {
enable = true ; # apply a bunch of deck-specific stuff
autoUpdate = false ; # auto-update firmware / bios. the tools for doing the manually are added to systemPackages below
} ;
environment . systemPackages = with pkgs ; [
2024-03-13 02:38:06 -07:00
glib . bin
2024-03-12 23:20:41 -07:00
steamdeck-firmware # gives us `jupiter-biosupdate` and `jupiter-controller-update` https://jovian-experiments.github.io/Jovian-NixOS/devices/valve-steam-deck/index.html
jupiter-dock-updater-bin # `jupiter-dock-updater`
] ;
}