about summary refs log tree commit diff stats
path: root/hosts/by-name/server1/configuration.nix
diff options
context:
space:
mode:
Diffstat (limited to 'hosts/by-name/server1/configuration.nix')
-rw-r--r--hosts/by-name/server1/configuration.nix46
1 files changed, 0 insertions, 46 deletions
diff --git a/hosts/by-name/server1/configuration.nix b/hosts/by-name/server1/configuration.nix
deleted file mode 100644
index 6bb1067..0000000
--- a/hosts/by-name/server1/configuration.nix
+++ /dev/null
@@ -1,46 +0,0 @@
-{config, ...}: {
-  imports = [
-    ./networking.nix # network configuration that just works
-    ./hardware.nix
-
-    ../../../system
-  ];
-
-  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;
-    nix-sync.enable = true;
-    openssh.enable = true;
-    peertube.enable = true;
-    postgresql.enable = true;
-    redlib.enable = true;
-    users.enable = true;
-    persist = {
-      enable = true;
-      directories = [
-        "/var/log"
-
-        # TODO(@bpeetz): Instead of persisting that, encode each uid/gid directly in the
-        # config. <2024-12-24>
-        "/var/lib/nixos"
-      ];
-    };
-  };
-
-  boot.tmp.cleanOnBoot = true;
-  zramSwap.enable = true;
-  networking.hostName = "server1";
-  networking.domain = "vhack.eu";
-
-  system.stateVersion = "22.11";
-}