From 984a6708bf773a091cbb937b55afde28ae93ec8b Mon Sep 17 00:00:00 2001 From: Payas Relekar Date: Sun, 6 Aug 2023 19:38:40 +0530 Subject: [PATCH] syncthing fix attempt v3 --- hosts/hermes/syncthing.nix | 10 +++++----- modules/common-syncthing.nix | 10 +++++----- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/hosts/hermes/syncthing.nix b/hosts/hermes/syncthing.nix index 38f4c34..2ab2698 100644 --- a/hosts/hermes/syncthing.nix +++ b/hosts/hermes/syncthing.nix @@ -9,7 +9,7 @@ settings = { folders = { - "~/Keepass" = { + Keepass = { enable = true; devices = [ "bebop" "Childish Tycoon" ]; type = "sendreceive"; @@ -20,7 +20,7 @@ }; }; - "~/Syncthing" = { + Syncthing = { enable = true; devices = [ "bebop" "Childish Tycoon" ]; type = "sendreceive"; @@ -34,14 +34,14 @@ }; }; - "~/org" = { + org = { enable = true; devices = [ "bebop" "Childish Tycoon" ]; type = "sendreceive"; fsWatcherEnabled = true; }; - "~/Music" = { + Music = { enable = true; devices = [ "bebop" "Childish Tycoon" ]; type = "sendreceive"; @@ -49,7 +49,7 @@ }; - "~/Pictures" = { + Pictures = { enable = false; # Kept as future reminder devices = [ ]; # no pause option in NixOS module, no sharing is as good as paused diff --git a/modules/common-syncthing.nix b/modules/common-syncthing.nix index bcbe655..755480f 100644 --- a/modules/common-syncthing.nix +++ b/modules/common-syncthing.nix @@ -57,31 +57,31 @@ in # devices, type and versioning to be configured per-node # Disable unwanted folder in per-node config - "~/Keepass" = { + Keepass = { id = "qsoil-jtfof"; label = "Keepass"; path = "~/Keepass"; }; - "~/Syncthing" = { + Syncthing = { id = "yg7in-0dlb8"; label = "Syncthing"; path = "~/Syncthing"; }; - "~/Music" = { + Music = { id = "3qsnr-wjn9w"; label = "Music"; path = "~/Music"; }; - "~/org" = { + org = { id = "9ta3z-yrde3"; label = "org"; path = "~/org"; }; - "~/Pictures" = { + Pictures = { id = "rjozc-vd3hh"; label = "Pictures"; path = "~/Pictures";