Compare commits

...

2 commits

Author SHA1 Message Date
135cd0642b Gaming/syncthing: sync project eden save files 2024-12-24 14:46:51 +01:00
3733eb8b3a Server: add changedetection-io 2024-12-19 11:58:38 +01:00
4 changed files with 44 additions and 0 deletions

View file

@ -17,6 +17,12 @@
devices = ["steamdeck" "server" "pc" "winmax2"];
path = "~/.local/share/Steam/steamapps/common/Hatsune Miku Project DIVA Mega Mix Plus/mods/";
};
"project-eden-saves" = {
label = "Project Eden saves";
id = "xa3qx-3ax5k";
devices = ["server" "pc" "winmax2" "steamdeck"];
path = "~/.local/share/Steam/steamapps/compatdata/1761390/pfx/drive_c/users/steamuser/AppData/Roaming/EDEN/";
};
};
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";

View file

@ -0,0 +1,31 @@
{...}: {
services.changedetection-io = {
enable = true;
baseURL = "changedetection.everest.tailscale";
behindProxy = true;
playwrightSupport = true;
};
systemd.services.changedetection-io.serviceConfig.Environment = [
"HIDE_REFERER=false"
];
# Add a record for changedetection-io
services.headscale.settings.dns.extra_records = [
{
name = "changedetection.everest.tailscale";
type = "A";
value = "100.100.0.1";
}
];
# Set up caddy as the reverse proxy for changedetection-io
services.caddy.virtualHosts.changedetection-io = {
hostName = "changedetection.everest.tailscale";
extraConfig = ''
import tailscale
reverse_proxy localhost:5000 {
header_up Referer {header.Referer}
}
'';
};
}

View file

@ -16,5 +16,6 @@
./rust_motd.nix
./minecraft.nix
./adguard.nix
./changedetection-io.nix
];
}

View file

@ -38,6 +38,12 @@
devices = ["server" "pc" "winmax2" "imac"];
path = "${config.services.syncthing.dataDir}/school-things";
};
"project-eden-saves" = {
label = "Project Eden saves";
id = "xa3qx-3ax5k";
devices = ["server" "pc" "winmax2" "steamdeck"];
path = "${config.services.syncthing.dataDir}/project-eden-saves";
};
};
};
systemd.services.syncthing.serviceConfig = {