diff options
Diffstat (limited to 'hosts')
| -rw-r--r-- | hosts/hamano.nix | 36 |
1 files changed, 36 insertions, 0 deletions
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; + }; + }; + +} |
