mirror of
https://github.com/Ascyii/nixos.git
synced 2026-01-01 06:44:26 -05:00
Some packages
This commit is contained in:
@@ -31,14 +31,14 @@ in {
|
||||
};
|
||||
|
||||
# Apply CUDA-specific settings if enabled
|
||||
# Dont do all as this has ridiculous high build times
|
||||
#nixpkgs.config.cudaSupport = config.enableCuda;
|
||||
hardware.enableAllFirmware = config.enableCuda;
|
||||
nixpkgs.config.cudaSupport = config.enableCuda;
|
||||
hardware.enableAllFirmware = true;
|
||||
|
||||
environment.systemPackages = (if config.enableCuda then [
|
||||
(pkgs.blender.override { cudaSupport = true; })
|
||||
(pkgs.ollama.override { acceleration = "cuda"; })
|
||||
] else
|
||||
environment.systemPackages = (if config.enableCuda then
|
||||
[
|
||||
(pkgs.blender.override { cudaSupport = true; })
|
||||
]
|
||||
else
|
||||
[ ]);
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user