mirror of
https://github.com/sadan4/dotfiles.git
synced 2025-06-07 13:03:03 -04:00
add to docker
This commit is contained in:
parent
c6230a8fe9
commit
a24eff3685
1 changed files with 10 additions and 1 deletions
|
@ -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" ];
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue