about summary refs log tree commit diff stats
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--hosts/by-name/server2/configuration.nix4
-rw-r--r--hosts/by-name/server3/configuration.nix6
-rw-r--r--hosts/by-name/server3/websites.nix (renamed from hosts/by-name/server2/websites.nix)0
3 files changed, 5 insertions, 5 deletions
diff --git a/hosts/by-name/server2/configuration.nix b/hosts/by-name/server2/configuration.nix
index 6909bdd..95f0ade 100644
--- a/hosts/by-name/server2/configuration.nix
+++ b/hosts/by-name/server2/configuration.nix
@@ -55,10 +55,6 @@
         "source.foss-syndicate.org" = "https://git.foss-syndicate.org/vhack.eu/nixos-server";
       };
     };
-    nix-sync = {
-      enable = true;
-      domains = import ./websites.nix {};
-    };
     nixconfig.enable = true;
     openssh.enable = true;
     persist = {
diff --git a/hosts/by-name/server3/configuration.nix b/hosts/by-name/server3/configuration.nix
index b87dc67..d819e81 100644
--- a/hosts/by-name/server3/configuration.nix
+++ b/hosts/by-name/server3/configuration.nix
@@ -1,4 +1,4 @@
-{config, ...}: {
+{...}: {
   imports = [
     ./networking.nix # network configuration that just works
     ./hardware.nix
@@ -12,6 +12,10 @@
       user = "u384702-sub4";
     };
     fail2ban.enable = true;
+    nix-sync = {
+      enable = true;
+      domains = import ./websites.nix {};
+    };
     mastodon = {
       enable = true;
       domain = "mastodon.vhack.eu";
diff --git a/hosts/by-name/server2/websites.nix b/hosts/by-name/server3/websites.nix
index 466f1e9..466f1e9 100644
--- a/hosts/by-name/server2/websites.nix
+++ b/hosts/by-name/server3/websites.nix