Drops the root daemon and the root-equivalent docker group; the daemon settings now apply to the rootless daemon. compose ships with the docker package. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
16 lines
340 B
Nix
16 lines
340 B
Nix
{
|
|
# rootless only: no root daemon and no root-equivalent docker group
|
|
virtualisation.docker.rootless = {
|
|
enable = true;
|
|
setSocketVariable = true;
|
|
daemon.settings = {
|
|
dns = [
|
|
"1.1.1.1"
|
|
"8.8.8.8"
|
|
];
|
|
log-driver = "journald";
|
|
registry-mirrors = [ "https://mirror.gcr.io" ];
|
|
};
|
|
};
|
|
}
|