Update ~8/26/24
This commit is contained in:
1 parent
eebaa957af
commit
02ded93d14
19 files changed
+120
-4
No files matched your search
@@ -1,9 +1,14 @@
|
||||
{ pkgs, config, ... }:
|
||||
{ pkgs, config, lib, ... }:
|
||||
{
|
||||
virtualisation.containers.enable = true;
|
||||
|
||||
virtualisation.docker = {
|
||||
enable = true;
|
||||
storageDriver = "overlay2";
|
||||
enableOnBoot = true;
|
||||
daemon.settings = {
|
||||
features.cdi = true;
|
||||
};
|
||||
};
|
||||
|
||||
environment.systemPackages = with pkgs; [
|
||||
@@ -13,5 +18,5 @@
|
||||
nvidia-container-toolkit
|
||||
];
|
||||
|
||||
hardware.nvidia-container-toolkit.enable = true;
|
||||
hardware.nvidia-container-toolkit.enable = lib.lists.elem "nvidia" config.services.xserver.videoDrivers;
|
||||
}
|
||||
Reference in new issue
Block a user