docker stuffs

This commit is contained in:
mjallen18
2024-02-18 23:18:46 -06:00
parent 5860496b43
commit d390d35734

View File

@@ -142,6 +142,10 @@ in
};
};
# libnvidia-container does not support cgroups v2 (prior to 1.8.0)
# https://github.com/NVIDIA/nvidia-docker/issues/1447
systemd.enableUnifiedCgroupHierarchy = false;
systemd.services.nas-mounts = {
path = [ pkgs.zfs pkgs.bash ];
script = ''
@@ -232,6 +236,7 @@ in
virtualisation.docker.enable = true;
virtualisation.docker.enableNvidia = true;
virtualisation.docker.enableOnBoot = true;
# This option defines the first version of NixOS you have installed on this particular machine,
# and is used to maintain compatibility with application data (e.g. databases) created on older NixOS versions.