6 Commits

Author SHA1 Message Date
ErrorNoInternet 81ae20f672 treewide: initialize npins
Check / Nix flake (push) Failing after 9s
Lint / Nix expressions (push) Failing after 11s
2026-05-03 19:14:24 -04:00
ErrorNoInternet 5a03f66a34 treewide: refactor code 2026-05-03 19:14:24 -04:00
javalsai a5b2e46586 nixos/security: add acme through dns challenge
few side refactors of this:
- no more `dns.domain`, it all must rely on `fqdn`, prevents
  inconsistencies.
- also added an specific host `tuxcord-acmetest` that uses the key zone
  for `nix.tuxcord.net` to test certificate pulling.
2026-05-03 19:13:21 -04:00
javalsai 64c1ea18e0 docs: document installation, secrets and setup steps
Check / Nix flake (push) Failing after 8s
Lint / Nix expressions (push) Failing after 10s
2026-05-03 19:13:21 -04:00
javalsai 1a866719ea nixos/services: make dns configuration easier 2026-05-03 19:13:21 -04:00
javalsai a0125116cd nixos/service: add dns (bind named server) 2026-05-03 19:12:19 -04:00
+15 -11
View File
@@ -82,17 +82,21 @@ in
};
};
environment.persistence."/persist" = {
directories = [
{
directory = "/var/dns";
group = "named";
user = "named";
}
];
};
environment.persistence."/persist".directories = [
{
directory = "/var/dns";
group = "named";
user = "named";
}
];
networking.firewall.allowedTCPPorts = [ config.services.bind.listenOnPort ];
networking.firewall.allowedUDPPorts = [ config.services.bind.listenOnPort ];
networking.firewall =
let
ports = [ config.services.bind.listenOnPort ];
in
{
allowedTCPPorts = ports;
allowedUDPPorts = ports;
};
};
}