summaryrefslogtreecommitdiff
path: root/hosts/knuth.nix
diff options
context:
space:
mode:
authorGrace Yoder <grace_yoder@outlook.com>2026-10-03 14:54:12 -0400
committerGrace Yoder <grace_yoder@outlook.com>2026-10-05 15:08:18 -0400
commitfdde154c63eeb8e6aac5129f9226f38c4b0b8bf0 (patch)
treee34e1728e20886595bb7db4bd81939f3b694d755 /hosts/knuth.nix
parent1f58bc3f3c9947c988567c8c16a853ff918f3e98 (diff)
hamano againvulcan
Diffstat (limited to 'hosts/knuth.nix')
-rw-r--r--hosts/knuth.nix43
1 files changed, 43 insertions, 0 deletions
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;
+ };
+ };
+
+}