added blender into its own module so it can be disabled on something like the laptop

This commit is contained in:
2026-10-25 14:44:51 +01:00
parent 9ce9db4351
commit aabb4bc35b
2 changed files with 11 additions and 8 deletions
+11
View File
@@ -0,0 +1,11 @@
{ ... }:
{
flake.modules.homeManager.blender = {pkgs, ...}: {
home.packages = [
(pkgs.blender.override {
config.cudaSupport = true;
config.rocmSupport = false;
})
];
};
}
-8
View File
@@ -1,12 +1,5 @@
{ self, inputs, ... }: { self, inputs, ... }:
let let
blender =
pkgs:
pkgs.blender.override {
config.cudaSupport = true;
config.rocmSupport = false;
};
tools = pkgs: [ tools = pkgs: [
pkgs.playerctl pkgs.playerctl
pkgs.imagemagick pkgs.imagemagick
@@ -15,7 +8,6 @@ let
pkgs.steam-run pkgs.steam-run
pkgs.sops pkgs.sops
pkgs.pavucontrol pkgs.pavucontrol
(blender pkgs)
]; ];
social = pkgs: [ social = pkgs: [