dotfiles/common/systemModules/docker.nix

16 lines
257 B
Nix
Raw Permalink Normal View History

2024-12-05 22:10:27 -05:00
{ NAME }: { ... }: {
virtualisation = {
docker = {
rootless = {
enable = true;
};
enable = true;
};
};
environment = {
sessionVariables = {
DOCKER_HOST = "unix://$XDG_RUNTIME_DIR/docker.sock";
};
};
}