diff options
Diffstat (limited to 'archetypes/profiles/cuda/default.nix')
| -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 |
