dotfiles/common/systemModules/docker.nix
2024-12-05 22:10:27 -05:00

15 lines
257 B
Nix

{ NAME }: { ... }: {
virtualisation = {
docker = {
rootless = {
enable = true;
};
enable = true;
};
};
environment = {
sessionVariables = {
DOCKER_HOST = "unix://$XDG_RUNTIME_DIR/docker.sock";
};
};
}