diff options
Diffstat (limited to 'hosts/by-name/server1/configuration.nix')
-rw-r--r-- | hosts/by-name/server1/configuration.nix | 38 |
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"; -} |