diff options
Diffstat (limited to 'hosts/by-name/server3/configuration.nix')
-rw-r--r-- | hosts/by-name/server3/configuration.nix | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/hosts/by-name/server3/configuration.nix b/hosts/by-name/server3/configuration.nix new file mode 100644 index 0000000..24b66e4 --- /dev/null +++ b/hosts/by-name/server3/configuration.nix @@ -0,0 +1,26 @@ +{config, ...}: { + imports = [ + ./networking.nix # network configuration that just works + ./hardware.nix + ]; + + vhack = { + fail2ban.enable = true; + openssh.enable = true; + persist = { + enable = true; + directories = [ + "/var/log" + ]; + }; + rust-motd.enable = true; + users.enable = true; + }; + + boot.tmp.cleanOnBoot = true; + zramSwap.enable = true; + networking.hostName = "server3"; + networking.domain = "vhack.eu"; + + system.stateVersion = "24.11"; +} |