move docker from rootless

This commit is contained in:
sadan 2025-03-12 21:59:44 -04:00
parent 4989c750ad
commit 885acf0965
No known key found for this signature in database
2 changed files with 2 additions and 4 deletions

View file

@ -1,15 +1,12 @@
{ NAME }: { ... }: {
virtualisation = {
docker = {
rootless = {
enable = true;
};
enable = true;
};
};
environment = {
sessionVariables = {
DOCKER_HOST = "unix://$XDG_RUNTIME_DIR/docker.sock";
# DOCKER_HOST = "unix://$XDG_RUNTIME_DIR/docker.sock";
};
};
}

View file

@ -35,6 +35,7 @@ in
"input"
"tty"
"plugdev"
"docker"
];
shell = pkgs.zsh;
};