21 lines
349 B
Nix
21 lines
349 B
Nix
{
|
|
# pkgs,
|
|
config,
|
|
lib,
|
|
...
|
|
}: {
|
|
virtualisation.docker = {
|
|
enable = true;
|
|
rootless = {
|
|
enable = true;
|
|
setSocketVariable = true;
|
|
};
|
|
storageDriver = "btrfs";
|
|
autoPrune.enable = true;
|
|
#defaultNetwork.settings = {
|
|
# dns_enabled = true;
|
|
#};
|
|
};
|
|
virtualisation.oci-containers.backend = "docker";
|
|
}
|