Add NVidia support to Docker
This commit is contained in:
parent
6264d45316
commit
fd15c177e8
1 changed files with 4 additions and 1 deletions
|
@ -6,6 +6,9 @@ in {
|
||||||
options.sisyphus.virtualisation.docker.enable = lib.mkEnableOption "Docker";
|
options.sisyphus.virtualisation.docker.enable = lib.mkEnableOption "Docker";
|
||||||
|
|
||||||
config = lib.mkIf cfg.enable {
|
config = lib.mkIf cfg.enable {
|
||||||
virtualisation.docker.enable = true;
|
virtualisation.docker = {
|
||||||
|
enable = true;
|
||||||
|
enableNvidia = true;
|
||||||
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue