fix: explicitly set dns servers for containers
This commit is contained in:
parent
3e09f9cb19
commit
9f82263098
1 changed files with 10 additions and 4 deletions
|
@ -24,10 +24,16 @@ in {
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
|
||||||
virtualisation.podman = {
|
virtualisation = {
|
||||||
enable = true;
|
podman = {
|
||||||
autoPrune.enable = true;
|
enable = true;
|
||||||
dockerSocket.enable = true;
|
autoPrune.enable = true;
|
||||||
|
dockerSocket.enable = true;
|
||||||
|
};
|
||||||
|
|
||||||
|
containers.containersConf.settings = {
|
||||||
|
containers.dns_servers = ["1.1.1.1"];
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
users.groups.gitea-runner = {};
|
users.groups.gitea-runner = {};
|
||||||
|
|
Loading…
Reference in a new issue