nix/module/DockerRootless.nix

9 lines
185 B
Nix

{ ... }: {
environment.variables.DOCKER_CONFIG = ./docker;
virtualisation.docker.enable = true;
virtualisation.docker.rootless = {
enable = true;
setSocketVariable = true;
};
}