diff options
| author | Tim Keller <tjk@tjkeller.xyz> | 2026-06-17 18:37:23 -0500 |
|---|---|---|
| committer | Tim Keller <tjk@tjkeller.xyz> | 2026-06-17 18:37:23 -0500 |
| commit | 8e302e700751aa82e3c2976147f848963b37303a (patch) | |
| tree | 9782b87587cccced42773ebdde31d75618e6f05f /archetypes/profiles/cuda | |
| parent | 20256167c33db9c6b762a5bcf0b6678de45653d0 (diff) | |
| download | nixos-8e302e700751aa82e3c2976147f848963b37303a.tar.xz nixos-8e302e700751aa82e3c2976147f848963b37303a.zip | |
mv nvidia packages to collection
Diffstat (limited to 'archetypes/profiles/cuda')
| -rw-r--r-- | archetypes/profiles/cuda/default.nix | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/archetypes/profiles/cuda/default.nix b/archetypes/profiles/cuda/default.nix index 14de560..b57b854 100644 --- a/archetypes/profiles/cuda/default.nix +++ b/archetypes/profiles/cuda/default.nix @@ -11,11 +11,9 @@ # Enable cudaSupport nixpkgs.config.cudaSupport = mkCuda true; - # Nvidia packages - environment.systemPackages = with pkgs; mkCuda [ - config.hardware.nvidia.package # nvidia-smi - nvtopPackages.nvidia - ]; + _archetypes.collections = { + nvidia.enable = mkCuda true; + }; # Enable nvidia graphics services.xserver.videoDrivers = mkCuda [ "nvidia" ]; # xserver.videoDrivers does not imply X |
