mirror of
https://github.com/sadan4/dotfiles.git
synced 2025-06-13 07:53:03 -04:00
move docker from rootless
This commit is contained in:
parent
4989c750ad
commit
885acf0965
2 changed files with 2 additions and 4 deletions
|
@ -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";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -35,6 +35,7 @@ in
|
||||||
"input"
|
"input"
|
||||||
"tty"
|
"tty"
|
||||||
"plugdev"
|
"plugdev"
|
||||||
|
"docker"
|
||||||
];
|
];
|
||||||
shell = pkgs.zsh;
|
shell = pkgs.zsh;
|
||||||
};
|
};
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue