mirror of
https://github.com/sadan4/dotfiles.git
synced 2025-04-01 21:21:57 -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 }: { ... }: {
|
||||
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";
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
@ -35,6 +35,7 @@ in
|
|||
"input"
|
||||
"tty"
|
||||
"plugdev"
|
||||
"docker"
|
||||
];
|
||||
shell = pkgs.zsh;
|
||||
};
|
||||
|
|
Loading…
Add table
Reference in a new issue