diff options
| author | Soispha Peetz <soispha@b-peetz.de> | 2026-11-04 21:11:29 +0100 |
|---|---|---|
| committer | Soispha Peetz <soispha@b-peetz.de> | 2026-11-27 00:55:52 +0100 |
| commit | 894619e68c0d413f808af4af455478995541a9d9 (patch) | |
| tree | cd8dd8f254b7c8743e2db53d534c261377aff5f5 /hosts/by-name/server3 | |
| parent | scripts/build.sh: Really only delete symlinks (diff) | |
| download | nixos-server-894619e68c0d413f808af4af455478995541a9d9.zip | |
hosts/{server2,server3}: Deduplicate some configuration via `modules/common`
Diffstat (limited to '')
| -rw-r--r-- | hosts/by-name/server3/configuration.nix | 17 |
1 files changed, 3 insertions, 14 deletions
diff --git a/hosts/by-name/server3/configuration.nix b/hosts/by-name/server3/configuration.nix index f7ee7d3..78901bb 100644 --- a/hosts/by-name/server3/configuration.nix +++ b/hosts/by-name/server3/configuration.nix @@ -2,15 +2,17 @@ imports = [ ./networking.nix # network configuration that just works ./hardware.nix + ../../../modules/common/vhack ]; vhack = { - backup = { + services.backup = { enable = true; privateSshKey = ./secrets/backup/backupssh.age; privatePassword = ./secrets/backup/backuppass.age; user = "u384702-sub4"; }; + dns = { enable = true; openFirewall = true; @@ -31,7 +33,6 @@ # TODO: Also provide something for Loki <2026-07-19> }; - fail2ban.enable = true; rocie = { enable = true; domain = "rocie.vhack.eu"; @@ -70,19 +71,11 @@ name = "vhack"; url = "vhack.eu"; }; - nixconfig.enable = true; - openssh.enable = true; peertube = { enable = true; peertubeGeneral = ./secrets/peertube/general.age; smtpPasswordFile = ./secrets/peertube/smtp.age; }; - persist = { - enable = true; - directories = [ - "/var/log" - ]; - }; stalwart-mail = { # enable = false; # fqdn = "mail.vhack.eu"; @@ -102,13 +95,9 @@ # openFirewall = true; # principals = null; }; - postgresql.enable = true; rust-motd.enable = true; - users.enable = true; }; - boot.tmp.cleanOnBoot = true; - zramSwap.enable = true; networking.hostName = "server3"; networking.domain = "vhack.eu"; |
