diff options
author | polwex <polwex@sortug.com> | 2025-05-14 19:14:35 +0000 |
---|---|---|
committer | polwex <polwex@sortug.com> | 2025-05-14 19:14:35 +0000 |
commit | bf6c3caf10952e96f389623a3107a151ce3b8c30 (patch) | |
tree | b06c0f349628adbc9d1fc0026ff93d7f883ce51f /hosts/cloud/hetzner/configuration.nix | |
parent | 6dcb4af2623174c4c52202c7ea064f40a35091ed (diff) |
m
Diffstat (limited to 'hosts/cloud/hetzner/configuration.nix')
-rw-r--r-- | hosts/cloud/hetzner/configuration.nix | 53 |
1 files changed, 53 insertions, 0 deletions
diff --git a/hosts/cloud/hetzner/configuration.nix b/hosts/cloud/hetzner/configuration.nix new file mode 100644 index 0000000..73ca07e --- /dev/null +++ b/hosts/cloud/hetzner/configuration.nix @@ -0,0 +1,53 @@ +{ + modulesPath, + lib, + pkgs, + ... +}: { + imports = [ + # ./hardware-configuration.nix + (modulesPath + "/installer/scan/not-detected.nix") + (modulesPath + "/profiles/qemu-guest.nix") + ./nginx.nix + ./disk-config.nix + ../../base.nix + ../users.nix + ../packages.nix + ../../server.nix + ]; + boot = { + loader.grub = { + efiSupport = true; + efiInstallAsRemovable = true; + }; + }; + + networking = { + hostName = "yn-hel"; + }; + networking.firewall = { + enable = false; + # allowedTCPPorts = [ 993 465 40308 80 443 53 51820 5522 ]; + # allowedUDPPorts = [ 993 465 40308 80 443 53 50000 50001 50002 50003 50004 50005 50006 50007 50008 50009 50010 51820 5522 ]; + }; + # services.ntfy-sh = { + # enable = true; + # settings = { + # base-url = "https://n.urbit.men"; + # listen-http = ":8090"; + # }; + # }; + + # services.headscale = { + # enable = true; + # address = "0.0.0.0"; + # port = 8001; + # settings = { + # server_url = "https://head.urbit.men"; + # dns.baseDomain = "urbit.men"; + # logtail.enabled = false; + # }; + # }; + + system.stateVersion = "24.11"; # Did you read the comment? +} |