feat(syncthing): Device sydpc
This commit is contained in:
@@ -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"
|
||||
];
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user