First docker changes

This commit is contained in:
Fern Garden 2025-08-24 20:55:23 +08:00
parent fdf03e9547
commit 8ef843fa94
3 changed files with 21 additions and 18 deletions

View file

@ -7,12 +7,16 @@
# Enable docker.
virtualisation.docker = {
enable = true;
autoPrune.enable = true;
liveRestore = true;
daemon.settings.default-address-pools = [
{
base = "172.20.0.0/12";
size = 24;
}
];
daemon.settings = {
data-root = "/home/fern/docker/daemon";
default-address-pools = [
{
base = "172.20.0.0/12";
size = 24;
}
];
};
};
}