added cache to syncthing
This commit is contained in:
44
jawz.nix
44
jawz.nix
@@ -36,25 +36,31 @@ in
|
|||||||
miniserver.id = "HDYEGIR-GFU7ONK-MOOJUFH-N3L3XHX-SXWN3FI-O23K6LD-BJENQK5-VIPV2AT";
|
miniserver.id = "HDYEGIR-GFU7ONK-MOOJUFH-N3L3XHX-SXWN3FI-O23K6LD-BJENQK5-VIPV2AT";
|
||||||
workstation.id = "4E4KJ6M-MSTNBVF-D7CNHDW-DUTB3VR-SXKZ4NH-ZKAOMF5-V24JECJ-4STSZAA";
|
workstation.id = "4E4KJ6M-MSTNBVF-D7CNHDW-DUTB3VR-SXKZ4NH-ZKAOMF5-V24JECJ-4STSZAA";
|
||||||
};
|
};
|
||||||
folders.gdl = {
|
folders = {
|
||||||
path = "/home/jawz/.config/jawz/";
|
cache = {
|
||||||
devices = [
|
path = "/home/jawz/Downloads/cache/";
|
||||||
"server"
|
ignorePerms = false;
|
||||||
"miniserver"
|
};
|
||||||
"workstation"
|
gdl = {
|
||||||
];
|
path = "/home/jawz/.config/jawz/";
|
||||||
ignorePerms = false;
|
ignorePerms = false;
|
||||||
};
|
devices = [
|
||||||
folders.librewolf = {
|
"server"
|
||||||
path = "/home/jawz/.librewolf/";
|
"miniserver"
|
||||||
copyOwnershipFromParent = true;
|
"workstation"
|
||||||
type = if config.networking.hostName == "workstation" then "sendonly" else "receiveonly";
|
];
|
||||||
devices = [
|
};
|
||||||
"server"
|
librewolf = {
|
||||||
"miniserver"
|
path = "/home/jawz/.librewolf/";
|
||||||
"workstation"
|
ignorePerms = false;
|
||||||
];
|
copyOwnershipFromParent = true;
|
||||||
ignorePerms = false;
|
type = if config.networking.hostName == "workstation" then "sendonly" else "receiveonly";
|
||||||
|
devices = [
|
||||||
|
"server"
|
||||||
|
"miniserver"
|
||||||
|
"workstation"
|
||||||
|
];
|
||||||
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user