mirror of
https://github.com/sadan4/dotfiles.git
synced 2025-01-18 03:03:29 -05:00
add rootless docker
This commit is contained in:
parent
0d53e615d4
commit
e3e465dc8d
2 changed files with 16 additions and 0 deletions
15
common/systemModules/docker.nix
Normal file
15
common/systemModules/docker.nix
Normal file
|
@ -0,0 +1,15 @@
|
|||
{ NAME }: { ... }: {
|
||||
virtualisation = {
|
||||
docker = {
|
||||
rootless = {
|
||||
enable = true;
|
||||
};
|
||||
enable = true;
|
||||
};
|
||||
};
|
||||
environment = {
|
||||
sessionVariables = {
|
||||
DOCKER_HOST = "unix://$XDG_RUNTIME_DIR/docker.sock";
|
||||
};
|
||||
};
|
||||
}
|
|
@ -8,6 +8,7 @@ in
|
|||
(import ../../systemModules/sops.nix { inherit NAME; })
|
||||
(import ../../systemModules/vm.nix { inherit NAME; })
|
||||
(import ../../systemModules/razer.nix { inherit NAME; })
|
||||
(import ../../systemModules/docker.nix { inherit NAME; })
|
||||
(import ../../systemModules/nixHelper.nix { inherit NAME; })
|
||||
(import ../../programs/wireshark.nix { inherit NAME; })
|
||||
(import ../../programs/kanata.nix { inherit NAME; })
|
||||
|
|
Loading…
Reference in a new issue