summary refs log tree commit diff stats
path: root/hosts/by-name/server1/configuration.nix
diff options
context:
space:
mode:
authorSilas Schöffel <sils@sils.li>2025-01-25 21:39:14 +0100
committerSilas Schöffel <sils@sils.li>2025-01-25 21:40:45 +0100
commitcd1c9cb118ea7aec54907e5130ee61bd7e9fa66c (patch)
tree7d561cc2ca33bb609a5b1eeaea298d3a8afd69fe /hosts/by-name/server1/configuration.nix
parentfeat(etesync): migrate to server2 (diff)
downloadnixos-server-cd1c9cb118ea7aec54907e5130ee61bd7e9fa66c.zip
feat(hosts)!: remove server1
This host is unused and therefore unneeded
Diffstat (limited to '')
-rw-r--r--hosts/by-name/server1/configuration.nix38
1 files changed, 0 insertions, 38 deletions
diff --git a/hosts/by-name/server1/configuration.nix b/hosts/by-name/server1/configuration.nix
deleted file mode 100644
index 7a6e5b2..0000000
--- a/hosts/by-name/server1/configuration.nix
+++ /dev/null
@@ -1,38 +0,0 @@
-{config, ...}: {
-  imports = [
-    ./networking.nix # network configuration that just works
-    ./hardware.nix
-
-    ../../../system
-  ];
-
-  vhack = {
-    backup = {
-      enable = true;
-      privateSshKey = ./secrets/backupssh.age;
-      privatePassword = ./secrets/backuppass.age;
-      user = "u384702-sub2";
-    };
-    nginx.enable = true;
-    openssh.enable = true;
-    postgresql.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";
-}