Add initial support for Steam Deck
This commit is contained in:
parent
9cbf89733a
commit
5b388c59d4
7 changed files with 127 additions and 45 deletions
19
nixos/deck/greetd-steam.nix
Normal file
19
nixos/deck/greetd-steam.nix
Normal 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
15
nixos/deck/jovian.nix
Normal 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;
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue