diff --git a/hosts/common/default.nix b/hosts/common/default.nix index d99d8c3..24ccdd8 100644 --- a/hosts/common/default.nix +++ b/hosts/common/default.nix @@ -76,6 +76,12 @@ services = { openssh.enable = true; + syncthing = { + enable = true; + user = "daniel"; + dataDir = "/home/daniel"; + }; + tailscale = { enable = true; }; diff --git a/hosts/dingserver/configuration.nix b/hosts/dingserver/configuration.nix index 2ad303f..4ce19e0 100644 --- a/hosts/dingserver/configuration.nix +++ b/hosts/dingserver/configuration.nix @@ -10,7 +10,6 @@ ./hardware-configuration.nix ./caddy.nix ./synapse.nix - ./syncthing.nix ./prometheus.nix ]; diff --git a/hosts/dingserver/syncthing.nix b/hosts/dingserver/syncthing.nix deleted file mode 100644 index 7ab494d..0000000 --- a/hosts/dingserver/syncthing.nix +++ /dev/null @@ -1,10 +0,0 @@ -{ - config, - pkgs, - lib, - ... -}: { - services.syncthing = { - enable = true; - }; -} diff --git a/users/daniel/default.nix b/users/daniel/default.nix index a8ca856..e00b8ec 100644 --- a/users/daniel/default.nix +++ b/users/daniel/default.nix @@ -165,10 +165,6 @@ in { services = { dunst.enable = true; - syncthing = { - enable = true; - }; - screen-locker = { enable = true; lockCmd = "${pkgs.i3lock}/bin/i3lock -i /home/daniel/wallpapers/lock.png";