summaryrefslogtreecommitdiff
path: root/hosts
diff options
context:
space:
mode:
authorGrace Yoder <grace_yoder@outlook.com>2026-10-02 14:22:35 -0400
committerGrace Yoder <grace_yoder@outlook.com>2026-10-02 21:50:15 -0400
commita726e22695ada34a3981040ff0175574050fc995 (patch)
tree3f2edddfcbb8ee9c23dd295463188a17b230204c /hosts
parenta2c6dcc045a2e5bfd51f1b8f9569d1149202cb67 (diff)
hamano stuff
Diffstat (limited to 'hosts')
-rw-r--r--hosts/hamano.nix36
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;
+ };
+ };
+
+}