diff options
| author | Grace Yoder <grace_yoder@outlook.com> | 2026-10-02 14:22:35 -0400 |
|---|---|---|
| committer | Grace Yoder <grace_yoder@outlook.com> | 2026-10-02 21:50:15 -0400 |
| commit | a726e22695ada34a3981040ff0175574050fc995 (patch) | |
| tree | 3f2edddfcbb8ee9c23dd295463188a17b230204c /hosts/hamano.nix | |
| parent | a2c6dcc045a2e5bfd51f1b8f9569d1149202cb67 (diff) | |
hamano stuff
Diffstat (limited to 'hosts/hamano.nix')
| -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; + }; + }; + +} |
