feat(syncthing): Device sydpc

This commit is contained in:
Madeleine Sydney
2025-04-01 06:58:34 -06:00
parent cf591c1e2d
commit 5003eba1fc
3 changed files with 18 additions and 10 deletions

View File

@@ -4,26 +4,28 @@ let cfg = config.sydnix.deertopia.syncthing;
in {
options.sydnix.deertopia.syncthing.enable =
lib.mkEnableOption "Syncthing, à la Deertopia";
config = lib.mkIf cfg.enable {
sydnix.syncthing = {
enable = true;
includeDevices = [
"guix-rebound"
"sydpc"
"nixos-testbed"
];
directories = {
"Music" = {
path = "/persist/vault/jellyfin/Music";
devices = [ "guix-rebound" ];
ignorePerms = true;
devices = [
"sydpc"
];
};
"org" = {
path = "/persist/deertopia.net/dav/org";
devices = [
"guix-rebound"
"nixos-testbed"
];
ignorePerms = true;
devices = [
"sydpc"
];
};
};
};