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 }: { ... }: { { NAME }: { ... }: {
virtualisation = { virtualisation = {
docker = { docker = {
rootless = {
enable = true;
};
enable = true; enable = true;
}; };
}; };
environment = { environment = {
sessionVariables = { 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" "input"
"tty" "tty"
"plugdev" "plugdev"
"docker"
]; ];
shell = pkgs.zsh; shell = pkgs.zsh;
}; };