god only knows
This commit is contained in:
parent
2f2060aade
commit
37a11e11ff
23 changed files with 230 additions and 49 deletions
13
system/docker.nix
Executable file
13
system/docker.nix
Executable file
|
@ -0,0 +1,13 @@
|
|||
|
||||
{ config, lib, pkgs, ... }:
|
||||
|
||||
{
|
||||
virtualisation.docker.enable = true;
|
||||
# virtualisation.docker.enableOnBoot = true;
|
||||
|
||||
# Nvidia Docker
|
||||
virtualisation.docker.enableNvidia = true;
|
||||
# libnvidia-container does not support cgroups v2 (prior to 1.8.0)
|
||||
# https://github.com/NVIDIA/nvidia-docker/issues/1447
|
||||
systemd.enableUnifiedCgroupHierarchy = false;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue