From a726e22695ada34a3981040ff0175574050fc995 Mon Sep 17 00:00:00 2001 From: Grace Yoder Date: Fri, 2 Oct 2026 14:22:35 -0400 Subject: hamano stuff --- hosts/hamano.nix | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 hosts/hamano.nix (limited to 'hosts') diff --git a/hosts/hamano.nix b/hosts/hamano.nix new file mode 100644 index 0000000..804b702 --- /dev/null +++ b/hosts/hamano.nix @@ -0,0 +1,36 @@ +{ ... }: + +let + host = import ../host.nix; +in +{ + imports = [ + ../hardware-configuration.nix + ../modules/dns.nix + ../modules/caddy.nix + ../modules/auto-update.nix + ../modules/tailscale.nix + ../modules/users.nix + ]; + + nix.settings.experimental-features = [ + "nix-command" + "flakes" + ]; + + networking.hostName = host.name; + + services.openssh = { + enable = true; + openFirewall = true; + + ports = [ 2222 ]; + + settings = { + PermitRootLogin = "no"; + PasswordAuthentication = false; + KbdInteractiveAuthentication = false; + }; + }; + +} -- cgit v1.3.1