nix/module/DockerRootless.nix

10 lines
239 B
Nix
Raw Normal View History

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