about summary refs log tree commit diff stats
path: root/hosts/by-name
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--hosts/by-name/server2/configuration.nix4
-rw-r--r--hosts/by-name/server2/websites.nix (renamed from modules/by-name/ni/nix-sync/hosts.nix)14
2 files changed, 11 insertions, 7 deletions
diff --git a/hosts/by-name/server2/configuration.nix b/hosts/by-name/server2/configuration.nix
index 95f0ade..6909bdd 100644
--- a/hosts/by-name/server2/configuration.nix
+++ b/hosts/by-name/server2/configuration.nix
@@ -55,6 +55,10 @@
         "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/modules/by-name/ni/nix-sync/hosts.nix b/hosts/by-name/server2/websites.nix
index 98dbbf1..57c4a6d 100644
--- a/modules/by-name/ni/nix-sync/hosts.nix
+++ b/hosts/by-name/server2/websites.nix
@@ -11,38 +11,38 @@
 in [
   {
     domain = "vhack.eu";
-    url = "https://codeberg.org/vhack.eu/website.git";
+    repositoryUrl = "https://codeberg.org/vhack.eu/website.git";
   }
   {
     domain = "b-peetz.de";
-    url = "https://codeberg.org/bpeetz/b-peetz.de.git";
+    repositoryUrl = "https://codeberg.org/bpeetz/b-peetz.de.git";
   }
 
   # Trinitrix
   {
     domain = "trinitrix.vhack.eu";
-    url = "https://codeberg.org/trinitrix/website.git";
+    repositoryUrl = "https://codeberg.org/trinitrix/website.git";
   }
 
   # WKD
   {
     domain = "openpgpkey.b-peetz.de";
-    url = "https://codeberg.org/vhack.eu/gpg_wkd.git";
+    repositoryUrl = "https://codeberg.org/vhack.eu/gpg_wkd.git";
     extraSettings = extraWkdSettings;
   }
   {
     domain = "openpgpkey.s-schoeffel.de";
-    url = "https://codeberg.org/vhack.eu/gpg_wkd.git";
+    repositoryUrl = "https://codeberg.org/vhack.eu/gpg_wkd.git";
     extraSettings = extraWkdSettings;
   }
   {
     domain = "openpgpkey.sils.li";
-    url = "https://codeberg.org/vhack.eu/gpg_wkd.git";
+    repositoryUrl = "https://codeberg.org/vhack.eu/gpg_wkd.git";
     extraSettings = extraWkdSettings;
   }
   {
     domain = "openpgpkey.vhack.eu";
-    url = "https://codeberg.org/vhack.eu/gpg_wkd.git";
+    repositoryUrl = "https://codeberg.org/vhack.eu/gpg_wkd.git";
     extraSettings = extraWkdSettings;
   }
 ]