syncthing: remove declarative namespace

This commit is contained in:
lassulus 2022-01-28 11:05:19 +01:00
parent 0501b46d13
commit 8f603a3f21
4 changed files with 6 additions and 8 deletions

View File

@ -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;
}

View File

@ -1,5 +1,5 @@
{
services.syncthing.declarative.folders.decsync = {
services.syncthing.folders.decsync = {
path = "/home/lass/decsync";
devices = [ "mors" "blue" "green" "phone" ];
};

View File

@ -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" = {

View File

@ -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";