23 lines
450 B
Nix
23 lines
450 B
Nix
{ pkgs, ...}:
|
|
{
|
|
environment.systemPackages = with pkgs; [
|
|
# docker_28
|
|
docker-compose
|
|
compose2nix
|
|
];
|
|
|
|
virtualisation.docker = {
|
|
enable = true;
|
|
# enableNvidia = true; # depreciated
|
|
package = pkgs.docker;
|
|
rootless = {
|
|
enable = true;
|
|
# setSocketVariable = true; # causes NVIDIA issues
|
|
package = pkgs.docker;
|
|
};
|
|
daemon.settings = {
|
|
userland-proxy = false;
|
|
ipv6 = false;
|
|
};
|
|
};
|
|
} |