nixos-config/config/services/docker.nix

12 lines
230 B
Nix

_: {
virtualisation.docker = {
autoPrune = {
dates = "weekly";
enable = true;
flags = ["--all"];
};
enable = true;
storageDriver = "zfs";
};
users.users.darkkirb.extraGroups = ["docker"];
}