summary refs log tree commit diff stats
path: root/hosts
diff options
context:
space:
mode:
authorBenedikt Peetz <benedikt.peetz@b-peetz.de>2024-12-24 01:25:54 +0100
committerBenedikt Peetz <benedikt.peetz@b-peetz.de>2024-12-24 01:25:54 +0100
commit54f5bb77564d5e2009db15b9e6c39b9b80defb4d (patch)
tree2c5b21722467bf6c0a5d1953c76f281532b4a646 /hosts
parentfeat(tests/back): Init (diff)
downloadnixos-server-54f5bb77564d5e2009db15b9e6c39b9b80defb4d.tar.gz
nixos-server-54f5bb77564d5e2009db15b9e6c39b9b80defb4d.zip
feat(hosts/server1): Configure back for the `nixos-server` repo
Diffstat (limited to 'hosts')
-rw-r--r--hosts/server1/configuration.nix11
1 files changed, 10 insertions, 1 deletions
diff --git a/hosts/server1/configuration.nix b/hosts/server1/configuration.nix
index 2d35bd8..e21327e 100644
--- a/hosts/server1/configuration.nix
+++ b/hosts/server1/configuration.nix
@@ -1,4 +1,4 @@
-{...}: {
+{config, ...}: {
   imports = [
     ./networking.nix # network configuration that just works
     ./hardware.nix
@@ -7,6 +7,15 @@
   ];
 
   vhack = {
+    back = {
+      enable = true;
+      repositories = {
+        "${config.services.gitolite.dataDir}/vhack.eu/nixos-config.git" = {
+          domain = "issues.vhack.eu";
+          port = 9220;
+        };
+      };
+    };
     etesync.enable = true;
     git-server.enable = true;
     nginx.enable = true;