diff options
| author | getchoo-bot[bot] <183349775+getchoo-bot[bot]@users.noreply.github.com> | 2024-10-18 21:04:48 +0000 |
|---|---|---|
| committer | GitHub <[email protected]> | 2024-10-18 21:04:48 +0000 |
| commit | 797075634ca9c741c48c7733c81c920384d1ae86 (patch) | |
| tree | 25a6acdc15d9d630d9c52758a80493caa6d33b2a /modules/nixos/traits/nvidia.nix | |
| parent | 1671897cfb636b059b0771c159f98bbf85b5d085 (diff) | |
flake: update nixpkgs (#476)
* flake: update nixpkgs
* nixos/containers: set `hardware.nvidia-container-toolkit` in nvidia module
---------
Co-authored-by: getchoo-bot[bot] <183349775+getchoo-bot[bot]@users.noreply.github.com>
Co-authored-by: seth <[email protected]>
Diffstat (limited to 'modules/nixos/traits/nvidia.nix')
| -rw-r--r-- | modules/nixos/traits/nvidia.nix | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/modules/nixos/traits/nvidia.nix b/modules/nixos/traits/nvidia.nix index dab26c8..bd57108 100644 --- a/modules/nixos/traits/nvidia.nix +++ b/modules/nixos/traits/nvidia.nix @@ -50,6 +50,10 @@ in }; }; }) + + (lib.mkIf config.traits.containers.enable { + hardware.nvidia-container-toolkit.enable = true; + }) ] ); } |
