system/pkgs/virtualisation/docker.nix

23 lines
450 B
Nix
Raw Permalink Normal View History

2025-04-09 20:56:29 -04:00
{ pkgs, ...}:
{
environment.systemPackages = with pkgs; [
# docker_28
docker-compose
compose2nix
];
2025-04-09 20:56:29 -04:00
virtualisation.docker = {
enable = true;
2025-04-16 13:59:06 -04:00
# enableNvidia = true; # depreciated
2025-04-09 20:56:29 -04:00
package = pkgs.docker;
rootless = {
enable = true;
# setSocketVariable = true; # causes NVIDIA issues
package = pkgs.docker;
};
daemon.settings = {
userland-proxy = false;
ipv6 = false;
};
};
}