feat(koumakyou): initial configuration

This commit is contained in:
514fpv 2024-04-29 22:36:32 +08:00
parent 300413b12a
commit 0f5a49ab55
Signed by: koishi
SSH key fingerprint: SHA256:axz0uIzzY+5W19i7QOUuiw5LSqhKfCBKPf3L4xFRxLw
5 changed files with 124 additions and 31 deletions

28
spec/koumakyou/jovian.nix Normal file
View file

@ -0,0 +1,28 @@
{ jovian, ... }: {
jovian = {
hardware.has.amd.gpu = true;
steamos.useSteamOSConfig = true;
steam = {
enable = true;
user = "app";
#desktopSession
};
decky-loader = {
enable = true;
stateDir = "/nix/persist/decky";
};
};
users.home.persistApp.directories = [
".steam" ".local/share/Steam" ".config/gamescope"
];
users.users.decky.uid = 514;
users.groups.decky.gid = 514;
imports = [
jovian.nixosModules.jovian
];
}