add rootless docker

This commit is contained in:
sadan 2024-12-05 22:10:27 -05:00
parent 0d53e615d4
commit e3e465dc8d
No known key found for this signature in database
2 changed files with 16 additions and 0 deletions

View file

@ -0,0 +1,15 @@
{ NAME }: { ... }: {
virtualisation = {
docker = {
rootless = {
enable = true;
};
enable = true;
};
};
environment = {
sessionVariables = {
DOCKER_HOST = "unix://$XDG_RUNTIME_DIR/docker.sock";
};
};
}

View file

@ -8,6 +8,7 @@ in
(import ../../systemModules/sops.nix { inherit NAME; }) (import ../../systemModules/sops.nix { inherit NAME; })
(import ../../systemModules/vm.nix { inherit NAME; }) (import ../../systemModules/vm.nix { inherit NAME; })
(import ../../systemModules/razer.nix { inherit NAME; }) (import ../../systemModules/razer.nix { inherit NAME; })
(import ../../systemModules/docker.nix { inherit NAME; })
(import ../../systemModules/nixHelper.nix { inherit NAME; }) (import ../../systemModules/nixHelper.nix { inherit NAME; })
(import ../../programs/wireshark.nix { inherit NAME; }) (import ../../programs/wireshark.nix { inherit NAME; })
(import ../../programs/kanata.nix { inherit NAME; }) (import ../../programs/kanata.nix { inherit NAME; })