syncthing: remove declarative namespace
This commit is contained in:
parent
0501b46d13
commit
8f603a3f21
@ -8,12 +8,10 @@ in {
|
|||||||
services.syncthing = {
|
services.syncthing = {
|
||||||
enable = true;
|
enable = true;
|
||||||
configDir = "/var/lib/syncthing";
|
configDir = "/var/lib/syncthing";
|
||||||
declarative = {
|
|
||||||
devices = mk_peers used_peers;
|
devices = mk_peers used_peers;
|
||||||
key = toString <secrets/syncthing.key>;
|
key = toString <secrets/syncthing.key>;
|
||||||
cert = toString <secrets/syncthing.cert>;
|
cert = toString <secrets/syncthing.cert>;
|
||||||
};
|
};
|
||||||
};
|
|
||||||
|
|
||||||
boot.kernel.sysctl."fs.inotify.max_user_watches" = 524288;
|
boot.kernel.sysctl."fs.inotify.max_user_watches" = 524288;
|
||||||
}
|
}
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
{
|
{
|
||||||
services.syncthing.declarative.folders.decsync = {
|
services.syncthing.folders.decsync = {
|
||||||
path = "/home/lass/decsync";
|
path = "/home/lass/decsync";
|
||||||
devices = [ "mors" "blue" "green" "phone" ];
|
devices = [ "mors" "blue" "green" "phone" ];
|
||||||
};
|
};
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
{
|
{
|
||||||
services.syncthing.declarative.folders."/home/lass/sync" = {
|
services.syncthing.folders."/home/lass/sync" = {
|
||||||
devices = [ "mors" "icarus" "xerxes" "shodan" "green" "blue" "coaxmetal" ];
|
devices = [ "mors" "icarus" "xerxes" "shodan" "green" "blue" "coaxmetal" ];
|
||||||
};
|
};
|
||||||
krebs.permown."/home/lass/sync" = {
|
krebs.permown."/home/lass/sync" = {
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
{
|
{
|
||||||
services.syncthing.declarative.folders."/home/lass/.weechat".devices = [ "green" "mors" ];
|
services.syncthing.folders."/home/lass/.weechat".devices = [ "green" "mors" ];
|
||||||
krebs.permown."/home/lass/.weechat" = {
|
krebs.permown."/home/lass/.weechat" = {
|
||||||
owner = "lass";
|
owner = "lass";
|
||||||
group = "syncthing";
|
group = "syncthing";
|
||||||
|
Loading…
Reference in New Issue
Block a user