diff --git a/H0615.nix b/H0615.nix index 54bffa5f..cc6add8b 100644 --- a/H0615.nix +++ b/H0615.nix @@ -6,6 +6,7 @@ ./hardware/audio.nix ./locales/en_GB.nix ./desktop/hyprland.nix + ./syncthing/H0615.nix ]; networking.hostName = "H0615"; # Define your hostname. diff --git a/syncthing/H0615.nix b/syncthing/H0615.nix new file mode 100644 index 00000000..65a2425e --- /dev/null +++ b/syncthing/H0615.nix @@ -0,0 +1,19 @@ +{ ... }: +{ + imports = [ ./default.nix ./devices/ion.nix ]; + services.syncthing = { + user = "elitherl"; + group = "users"; + dataDir = "/home/elitherl"; + folders = { + Sync = { + path = "/home/elitherl/Sync"; + label = "UKAEA"; + id = "fwzht-j7hrc"; + devices = [ "ion" ]; + ignorePerms = true; + enable = true; + }; + }; + }; +} diff --git a/syncthing/default.nix b/syncthing/default.nix index 54aaf501..be1dfa26 100644 --- a/syncthing/default.nix +++ b/syncthing/default.nix @@ -8,7 +8,7 @@ extraOptions = { options = { globalAnnounceEnabled = lib.mkDefault false; - localAnnounceEnabled = lib.mkDefault false; + localAnnounceEnabled = lib.mkDefault true; }; }; };