Make podman's default network use cloudflare dns
This commit is contained in:
parent
acaa097b11
commit
2b61655703
1 changed files with 6 additions and 1 deletions
|
@ -26,7 +26,12 @@
|
|||
{
|
||||
virtualisation.containers.enable = true;
|
||||
virtualisation.podman.enable = true;
|
||||
virtualisation.podman.defaultNetwork.settings.dns_enabled = true;
|
||||
virtualisation.podman.defaultNetwork.settings = {
|
||||
dns_enabled = true;
|
||||
network_dns_servers = [
|
||||
"1.1.1.1"
|
||||
];
|
||||
};
|
||||
virtualisation.oci-containers.backend = "podman";
|
||||
|
||||
virtualisation.oci-containers.containers = lib.mapAttrs (
|
||||
|
|
Loading…
Add table
Reference in a new issue