nix/modules/virtualisation/docker.nix
pazpi 1a238d83fb Remove rootless mode
It has never worked. Never had time to proper find a fix and documentation if it is still necessary inside LXC
2025-12-14 12:05:14 +01:00

26 lines
363 B
Nix

{
lib,
config,
pkgs,
...
}:
let
cfg = config.my.virtualisation.docker;
in
{
options.my.virtualisation.docker = {
enable = lib.mkEnableOption "Enable Docker module";
};
config = lib.mkIf cfg.enable {
virtualisation = {
docker = {
storageDriver = "overlay2";
};
oci-containers.backend = "docker";
};
};
}