diff --git a/hosts/solaire/default.nix b/hosts/solaire/default.nix index 4d08433..b9787be 100644 --- a/hosts/solaire/default.nix +++ b/hosts/solaire/default.nix @@ -16,6 +16,8 @@ in { "${system}/programs/gnome.nix" "${system}/programs/games.nix" "${system}/hardware/nvidia.nix" + + "${system}/services/syncthing.nix" ]; home-manager = { diff --git a/hosts/vamos/default.nix b/hosts/vamos/default.nix index b36b2c7..135a692 100644 --- a/hosts/vamos/default.nix +++ b/hosts/vamos/default.nix @@ -24,6 +24,8 @@ in { "${system}/programs/niri" "${system}/services/gnome.nix" "${system}/services/mail.nix" + + "${system}/services/syncthing.nix" ]; home-manager = { diff --git a/system/services/syncthing.nix b/system/services/syncthing.nix new file mode 100644 index 0000000..3922ad7 --- /dev/null +++ b/system/services/syncthing.nix @@ -0,0 +1,8 @@ +{ + services = { + syncthing = { + enable = true; + }; + }; + systemd.services.syncthing.environment.STNODEFAULTFOLDER = "true"; # Don't create default ~/Sync folder +} diff --git a/system/syncthing/default.nix b/system/syncthing/default.nix deleted file mode 100644 index 4e16097..0000000 --- a/system/syncthing/default.nix +++ /dev/null @@ -1,8 +0,0 @@ -{ - services = { - syncthing = { - enable = true; - systemd.services.syncthing.environment.STNODEFAULTFOLDER = "true"; # Don't create default ~/Sync folder - }; - }; -}