nix/module/DockerRootless.nix
2024-03-04 03:04:57 +03:00

10 lines
239 B
Nix

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