Enable cuda support only for blender

This commit is contained in:
Filippo Berto 2023-01-23 10:19:43 +01:00
parent ab2831c534
commit 8207f8fe23
No known key found for this signature in database
GPG key ID: FE98AE5EC52B1056
2 changed files with 4 additions and 2 deletions

View file

@ -247,7 +247,7 @@
odin-nvidia = nixpkgs.lib.nixosSystem {
system = "x86_64-linux";
modules = commonModules ++ odinCommonModules ++ [
{ nixpkgs.config = config // { cudaSupport = true; }; }
{ nixpkgs.config = config; }
./odin/configuration-nvidia.nix
];
};

View file

@ -1 +1,3 @@
{ pkgs, ... }: { home.packages = with pkgs; [ blender ]; }
{ pkgs, ... }: {
home.packages = with pkgs; [ (blender.override { cudaSupport = true; }) ];
}