From cd1c9cb118ea7aec54907e5130ee61bd7e9fa66c Mon Sep 17 00:00:00 2001 From: Silas Schöffel Date: Sat, 25 Jan 2025 21:39:14 +0100 Subject: feat(hosts)!: remove server1 This host is unused and therefore unneeded --- hosts/by-name/server1/configuration.nix | 38 --------------------------------- 1 file changed, 38 deletions(-) delete mode 100644 hosts/by-name/server1/configuration.nix (limited to 'hosts/by-name/server1/configuration.nix') 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"; -} -- cgit 1.4.1