fix: explicitly set dns servers for containers

This commit is contained in:
buffet 2024-05-07 21:59:42 +02:00
parent 3e09f9cb19
commit 9f82263098

View file

@ -24,12 +24,18 @@ in {
}); });
}; };
virtualisation.podman = { virtualisation = {
podman = {
enable = true; enable = true;
autoPrune.enable = true; autoPrune.enable = true;
dockerSocket.enable = true; dockerSocket.enable = true;
}; };
containers.containersConf.settings = {
containers.dns_servers = ["1.1.1.1"];
};
};
users.groups.gitea-runner = {}; users.groups.gitea-runner = {};
users.users.gitea-runner = { users.users.gitea-runner = {
isSystemUser = true; isSystemUser = true;