Compare commits

..

3 commits

8 changed files with 46 additions and 4 deletions

5
roles/gaming/default.nix Executable file → Normal file
View file

@ -2,8 +2,7 @@
{
imports = [
./steam.nix
./mangohud.nix
./rpcs3.nix
./programs
./services
];
}

View file

@ -0,0 +1,9 @@
{ ... }:
{
imports = [
./steam.nix
./mangohud.nix
./rpcs3.nix
];
}

View file

@ -0,0 +1,7 @@
{ ... }:
{
imports = [
./syncthing.nix
];
}

View file

@ -0,0 +1,21 @@
{ config, ... }:
{
/*
This file will sync saves for games that don't have cloud saves
TODO: turn this into a module eventually
*/
services.syncthing.folders = {
"steam-201810" = {
label = "Wolfenstein The New Order Saves";
id = "laxxf-t2wmy";
devices = [ "steamdeck" "server" "pc" ];
path = "~/.local/share/Steam/steamapps/compatdata/201810/pfx/drive_c/users/steamuser/Saved Games/MachineGames/Wolfenstein The New Order/";
};
};
home-manager.users.toast.home.file."steam-201810-ignore" = {
target = ".local/share/Steam/steamapps/compatdata/201810/pfx/drive_c/users/steamuser/Saved Games/MachineGames/Wolfenstein The New Order/.stignore";
text = "base/qconsole.log\nbase/wolfConfig.cfg";
};
}

View file

@ -18,9 +18,15 @@
"school-things" = {
label = "School things";
id = "z6alc-nfoqr";
devices = [ "steamdeck" "server" ];
devices = [ "steamdeck" "server" "pc"];
path = "${config.services.syncthing.dataDir}/school-things";
};
"steam-201810" = {
label = "Wolfenstein The New Order Saves";
id = "laxxf-t2wmy";
devices = [ "steamdeck" "server" "pc" ];
path = "${config.services.syncthing.dataDir}/steam-201810";
};
};
};
systemd.services.syncthing.serviceConfig = {