added cache to syncthing
This commit is contained in:
parent
18319e34f1
commit
ad0a7290ef
14
jawz.nix
14
jawz.nix
@ -36,17 +36,23 @@ 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 = {
|
||||||
|
cache = {
|
||||||
|
path = "/home/jawz/Downloads/cache/";
|
||||||
|
ignorePerms = false;
|
||||||
|
};
|
||||||
|
gdl = {
|
||||||
path = "/home/jawz/.config/jawz/";
|
path = "/home/jawz/.config/jawz/";
|
||||||
|
ignorePerms = false;
|
||||||
devices = [
|
devices = [
|
||||||
"server"
|
"server"
|
||||||
"miniserver"
|
"miniserver"
|
||||||
"workstation"
|
"workstation"
|
||||||
];
|
];
|
||||||
ignorePerms = false;
|
|
||||||
};
|
};
|
||||||
folders.librewolf = {
|
librewolf = {
|
||||||
path = "/home/jawz/.librewolf/";
|
path = "/home/jawz/.librewolf/";
|
||||||
|
ignorePerms = false;
|
||||||
copyOwnershipFromParent = true;
|
copyOwnershipFromParent = true;
|
||||||
type = if config.networking.hostName == "workstation" then "sendonly" else "receiveonly";
|
type = if config.networking.hostName == "workstation" then "sendonly" else "receiveonly";
|
||||||
devices = [
|
devices = [
|
||||||
@ -54,7 +60,7 @@ in
|
|||||||
"miniserver"
|
"miniserver"
|
||||||
"workstation"
|
"workstation"
|
||||||
];
|
];
|
||||||
ignorePerms = false;
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user