podman: They moved the nvidia option again...

This commit is contained in:
Erwin Boskma 2024-04-26 15:40:12 +02:00
parent 8d6f89dcd8
commit 77fbd66707
Signed by: erwin
SSH key fingerprint: SHA256:OCinH/khuGY1LA9RG8YLM8GNH6C1DDXBdy3SNE+I5Hw

View file

@ -42,7 +42,6 @@ in
virtualisation.containers = {
enable = true;
cdi.dynamic.nvidia.enable = cfg.enableNvidia;
registries = {
insecure = cfg.insecureRegistries;
};
@ -59,6 +58,8 @@ in
# };
};
hardware.nvidia-container-toolkit.enable = cfg.enableNvidia;
users.extraUsers.${config.eboskma.var.mainUser}.extraGroups = [ "podman" ];
# Make DNS work in containers