From fdde154c63eeb8e6aac5129f9226f38c4b0b8bf0 Mon Sep 17 00:00:00 2001 From: Grace Yoder Date: Sat, 3 Oct 2026 14:54:12 -0400 Subject: hamano again --- hosts/knuth.nix | 43 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) create mode 100644 hosts/knuth.nix (limited to 'hosts/knuth.nix') diff --git a/hosts/knuth.nix b/hosts/knuth.nix new file mode 100644 index 0000000..9685d51 --- /dev/null +++ b/hosts/knuth.nix @@ -0,0 +1,43 @@ +{ ... }: + +let + host = import ../hosts.nix; +in +{ + imports = [ + ../modules/dns.nix + ../modules/caddy.nix + ../modules/gitsrv.nix + ../modules/tailscale.nix + ../modules/users.nix + ]; + nix.settings.trusted-users = [ + "root" + "grace" +]; + + nix.settings.experimental-features = [ + "nix-command" + "flakes" + ]; + + boot.loader.grub = { + enable = true; + device = "/dev/vda"; + }; + networking.hostName = host.name; + + services.openssh = { + enable = true; + openFirewall = true; + + ports = [ 2222 ]; + + settings = { + PermitRootLogin = "no"; + PasswordAuthentication = false; + KbdInteractiveAuthentication = false; + }; + }; + +} -- cgit v1.3.1