aboutsummaryrefslogtreecommitdiffstats
path: root/hosts/by-name/server2
diff options
context:
space:
mode:
authorSoispha Peetz <soispha@b-peetz.de>2026-11-04 21:11:29 +0100
committerSoispha Peetz <soispha@b-peetz.de>2026-11-27 00:55:52 +0100
commit894619e68c0d413f808af4af455478995541a9d9 (patch)
treecd8dd8f254b7c8743e2db53d534c261377aff5f5 /hosts/by-name/server2
parentscripts/build.sh: Really only delete symlinks (diff)
downloadnixos-server-894619e68c0d413f808af4af455478995541a9d9.zip
hosts/{server2,server3}: Deduplicate some configuration via `modules/common`
Diffstat (limited to '')
-rw-r--r--hosts/by-name/server2/configuration.nix15
1 files changed, 2 insertions, 13 deletions
diff --git a/hosts/by-name/server2/configuration.nix b/hosts/by-name/server2/configuration.nix
index ba08d87..94b4f75 100644
--- a/hosts/by-name/server2/configuration.nix
+++ b/hosts/by-name/server2/configuration.nix
@@ -6,6 +6,7 @@
imports = [
./networking.nix # network configuration that just works
./hardware.nix
+ ../../../modules/common/vhack
];
sils = {
@@ -20,7 +21,7 @@
enable = true;
fqdn = "atuin-sync.vhack.eu";
};
- backup = {
+ services.backup = {
enable = true;
privateSshKey = ./secrets/backup/backupssh.age;
privatePassword = ./secrets/backup/backuppass.age;
@@ -54,7 +55,6 @@
enable = true;
secretFile = ./secrets/etesync/secret_file.age;
};
- fail2ban.enable = true;
git-server = {
enable = true;
domain = "git.foss-syndicate.org";
@@ -154,14 +154,6 @@
"source.vhack.eu" = "https://source.foss-syndicate.org";
};
};
- nixconfig.enable = true;
- openssh.enable = true;
- persist = {
- enable = true;
- directories = [
- "/var/log"
- ];
- };
redlib.enable = false;
rust-motd.enable = true;
sharkey = {
@@ -188,11 +180,8 @@
enable = true;
fqdn = "taskchampion.vhack.eu";
};
- users.enable = true;
};
- boot.tmp.cleanOnBoot = true;
- zramSwap.enable = true;
networking.hostName = "server2";
networking.domain = "vhack.eu";