diff --git a/configurations/nixos/tofu/default.nix b/configurations/nixos/tofu/default.nix index 28a5cdc..c9b06d4 100644 --- a/configurations/nixos/tofu/default.nix +++ b/configurations/nixos/tofu/default.nix @@ -20,10 +20,19 @@ in tty-ips.enable = true; otf = { enable = true; + environment = { + # OTF_KEY_FILE=/fixtures/key.pem + # SSL_CERT_FILE=/fixtures/cert.pem + # OTF_LOG_HTTP_REQUESTS = "true"; + OTF_ADDRESS = "0.0.0.0:9000"; + OTF_HOSTNAME = "tofu.skdevstudios.com"; + OTF_DEFAULT_ENGINE = "tofu"; + }; environmentFile = config.sops.secrets.otfenv.path; }; }; networking = { + firewall.enable = false; yggdrasil = { enable = true; AllowedPublicKeys = [