syncthing: remove declarative namespace
This commit is contained in:
parent
0501b46d13
commit
8f603a3f21
@ -8,12 +8,10 @@ in {
|
||||
services.syncthing = {
|
||||
enable = true;
|
||||
configDir = "/var/lib/syncthing";
|
||||
declarative = {
|
||||
devices = mk_peers used_peers;
|
||||
key = toString <secrets/syncthing.key>;
|
||||
cert = toString <secrets/syncthing.cert>;
|
||||
};
|
||||
};
|
||||
|
||||
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";
|
||||
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" ];
|
||||
};
|
||||
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" = {
|
||||
owner = "lass";
|
||||
group = "syncthing";
|
||||
|
Loading…
Reference in New Issue
Block a user