diff --git a/flake.nix b/flake.nix index cd018b0..cb05f08 100644 --- a/flake.nix +++ b/flake.nix @@ -15,6 +15,7 @@ # System configuration configurationNix ./modules/passwordstore.nix + ./modules/syncthing.nix ./modules/protonmail-bridge.nix ./modules/monitor-brightness.nix diff --git a/modules/syncthing.nix b/modules/syncthing.nix new file mode 100644 index 0000000..16f1532 --- /dev/null +++ b/modules/syncthing.nix @@ -0,0 +1,9 @@ +{ pkgs, ... }: { + services = { + syncthing = { + enable = true; + user = "srid"; + dataDir = "/home/srid"; + }; + }; +} diff --git a/x1c7/configuration.nix b/x1c7/configuration.nix index 870e8f3..b8789d5 100644 --- a/x1c7/configuration.nix +++ b/x1c7/configuration.nix @@ -72,11 +72,6 @@ services = { openssh.enable = true; - syncthing = { - enable = true; - user = "srid"; - dataDir = "/home/srid"; - }; }; # Open ports in the firewall.