add to docker

This commit is contained in:
sadan 2025-04-17 20:16:26 -04:00
parent c6230a8fe9
commit a24eff3685
No known key found for this signature in database

View file

@ -1,4 +1,6 @@
{ NAME }: { ... }: {
{ NAME }:
{ ... }:
{
virtualisation = {
docker = {
enable = true;
@ -9,4 +11,11 @@
# DOCKER_HOST = "unix://$XDG_RUNTIME_DIR/docker.sock";
};
};
users = {
users = {
"${NAME}" = {
extraGroups = [ "docker" ];
};
};
};
}