2024-10-16 23:01:57 +02:00
|
|
|
{
|
|
|
|
hostAddress,
|
|
|
|
pkgs,
|
|
|
|
lib,
|
|
|
|
...
|
|
|
|
}: {
|
2022-03-20 16:40:47 +01:00
|
|
|
networking.useHostResolvConf = false;
|
|
|
|
|
2024-07-26 18:02:15 +02:00
|
|
|
networking.firewall.enable = true;
|
|
|
|
networking.nftables.enable = true;
|
|
|
|
networking.nftables.flushRuleset = true;
|
|
|
|
|
2024-10-16 23:01:57 +02:00
|
|
|
networking.nameservers = lib.mkForce [hostAddress];
|
|
|
|
|
2024-07-26 18:02:15 +02:00
|
|
|
environment.systemPackages = [
|
|
|
|
pkgs.dnsutils
|
|
|
|
];
|
|
|
|
|
2023-08-08 17:53:01 +02:00
|
|
|
imports = [
|
2024-10-16 23:01:57 +02:00
|
|
|
{
|
|
|
|
# keep DNS set up to a minimum: only query the container host
|
|
|
|
services.resolved.enable = lib.mkForce false;
|
|
|
|
networking.nameservers = [
|
|
|
|
hostAddress
|
|
|
|
];
|
|
|
|
}
|
2024-06-01 21:46:09 +02:00
|
|
|
../../snippets/nix-settings.nix
|
2023-08-10 21:45:49 +02:00
|
|
|
# ../../modules/ddclient-ovh.nix
|
|
|
|
# ../../modules/ddclient-hetzner.nix
|
2023-08-08 17:53:01 +02:00
|
|
|
];
|
2019-02-03 14:31:21 +01:00
|
|
|
}
|