Compare commits
3 commits
190044ee8f
...
3ecf51580d
| Author | SHA1 | Date | |
|---|---|---|---|
| 3ecf51580d | |||
| 5fc18d212f | |||
| ca7dd48db3 |
8 changed files with 46 additions and 4 deletions
5
roles/gaming/default.nix
Executable file → Normal file
5
roles/gaming/default.nix
Executable file → Normal file
|
|
@ -2,8 +2,7 @@
|
|||
|
||||
{
|
||||
imports = [
|
||||
./steam.nix
|
||||
./mangohud.nix
|
||||
./rpcs3.nix
|
||||
./programs
|
||||
./services
|
||||
];
|
||||
}
|
||||
|
|
|
|||
9
roles/gaming/programs/default.nix
Executable file
9
roles/gaming/programs/default.nix
Executable file
|
|
@ -0,0 +1,9 @@
|
|||
{ ... }:
|
||||
|
||||
{
|
||||
imports = [
|
||||
./steam.nix
|
||||
./mangohud.nix
|
||||
./rpcs3.nix
|
||||
];
|
||||
}
|
||||
7
roles/gaming/services/default.nix
Normal file
7
roles/gaming/services/default.nix
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
{ ... }:
|
||||
|
||||
{
|
||||
imports = [
|
||||
./syncthing.nix
|
||||
];
|
||||
}
|
||||
21
roles/gaming/services/syncthing.nix
Normal file
21
roles/gaming/services/syncthing.nix
Normal 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";
|
||||
};
|
||||
}
|
||||
|
|
@ -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 = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue