podman: They moved the nvidia option again...
This commit is contained in:
parent
8d6f89dcd8
commit
77fbd66707
1 changed files with 2 additions and 1 deletions
|
@ -42,7 +42,6 @@ in
|
||||||
|
|
||||||
virtualisation.containers = {
|
virtualisation.containers = {
|
||||||
enable = true;
|
enable = true;
|
||||||
cdi.dynamic.nvidia.enable = cfg.enableNvidia;
|
|
||||||
registries = {
|
registries = {
|
||||||
insecure = cfg.insecureRegistries;
|
insecure = cfg.insecureRegistries;
|
||||||
};
|
};
|
||||||
|
@ -59,6 +58,8 @@ in
|
||||||
# };
|
# };
|
||||||
};
|
};
|
||||||
|
|
||||||
|
hardware.nvidia-container-toolkit.enable = cfg.enableNvidia;
|
||||||
|
|
||||||
users.extraUsers.${config.eboskma.var.mainUser}.extraGroups = [ "podman" ];
|
users.extraUsers.${config.eboskma.var.mainUser}.extraGroups = [ "podman" ];
|
||||||
|
|
||||||
# Make DNS work in containers
|
# Make DNS work in containers
|
||||||
|
|
Loading…
Reference in a new issue