Add initial support for Steam Deck

This commit is contained in:
Jimbo 2024-09-02 19:07:17 -04:00
parent 9cbf89733a
commit 5b388c59d4
7 changed files with 127 additions and 45 deletions

View file

@ -0,0 +1,19 @@
{pkgs, ...}: {
services = {
# Configure greetd for "auto" login (single user only)
greetd = {
enable = true;
restart = true;
settings = {
terminal = {
vt = 2;
switch = true;
};
default_session = {
command = "start-gamescope-session";
user = "jimbo";
};
};
};
};
}

15
nixos/deck/jovian.nix Normal file
View file

@ -0,0 +1,15 @@
{
imports = [
./greetd-steam.nix
];
jovian = {
steam = {
enable = true;
desktopSession = "sway";
};
decky-loader.enable = true;
devices.steamdeck.enable = true;
steamos.useSteamOSConfig = true;
};
}