feat: blender-bin

This commit is contained in:
2025-10-01 23:21:17 +01:00
parent 88cc58ff5d
commit c05cb4d125
3 changed files with 45 additions and 6 deletions

42
nix/flake.lock generated
View File

@@ -738,6 +738,26 @@
"type": "github" "type": "github"
} }
}, },
"nix-warez": {
"inputs": {
"nixpkgs": "nixpkgs_3"
},
"locked": {
"dir": "blender",
"lastModified": 1758185131,
"narHash": "sha256-GlScQnoFgaFLQ9cd4llbJSisR0LjafjMAkBZQV7m4uk=",
"owner": "edolstra",
"repo": "nix-warez",
"rev": "f49a87422539d748a34b9f3b07a7b8ced7242dff",
"type": "github"
},
"original": {
"dir": "blender",
"owner": "edolstra",
"repo": "nix-warez",
"type": "github"
}
},
"nixpkgs": { "nixpkgs": {
"locked": { "locked": {
"lastModified": 1758198701, "lastModified": 1758198701,
@@ -771,6 +791,21 @@
} }
}, },
"nixpkgs_3": { "nixpkgs_3": {
"locked": {
"lastModified": 1733808091,
"narHash": "sha256-KWwINTQelKOoQgrXftxoqxmKFZb9pLVfnRvK270nkVk=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "a0f3e10d94359665dba45b71b4227b0aeb851f8e",
"type": "github"
},
"original": {
"id": "nixpkgs",
"ref": "nixos-24.11",
"type": "indirect"
}
},
"nixpkgs_4": {
"locked": { "locked": {
"lastModified": 1759036355, "lastModified": 1759036355,
"narHash": "sha256-0m27AKv6ka+q270dw48KflE0LwQYrO7Fm4/2//KCVWg=", "narHash": "sha256-0m27AKv6ka+q270dw48KflE0LwQYrO7Fm4/2//KCVWg=",
@@ -786,7 +821,7 @@
"type": "github" "type": "github"
} }
}, },
"nixpkgs_4": { "nixpkgs_5": {
"locked": { "locked": {
"lastModified": 1758690382, "lastModified": 1758690382,
"narHash": "sha256-NY3kSorgqE5LMm1LqNwGne3ZLMF2/ILgLpFr1fS4X3o=", "narHash": "sha256-NY3kSorgqE5LMm1LqNwGne3ZLMF2/ILgLpFr1fS4X3o=",
@@ -922,7 +957,8 @@
"home-manager": "home-manager", "home-manager": "home-manager",
"hyprland": "hyprland", "hyprland": "hyprland",
"neovim-nightly-overlay": "neovim-nightly-overlay", "neovim-nightly-overlay": "neovim-nightly-overlay",
"nixpkgs": "nixpkgs_3", "nix-warez": "nix-warez",
"nixpkgs": "nixpkgs_4",
"nixvim": "nixvim", "nixvim": "nixvim",
"quickshell": "quickshell", "quickshell": "quickshell",
"sops-nix": "sops-nix", "sops-nix": "sops-nix",
@@ -952,7 +988,7 @@
}, },
"spicetify-nix": { "spicetify-nix": {
"inputs": { "inputs": {
"nixpkgs": "nixpkgs_4", "nixpkgs": "nixpkgs_5",
"systems": "systems_4" "systems": "systems_4"
}, },
"locked": { "locked": {

View File

@@ -33,6 +33,9 @@
spicetify-nix = { spicetify-nix = {
url = "github:Gerg-L/spicetify-nix"; url = "github:Gerg-L/spicetify-nix";
}; };
nix-warez = { # Blender-bin
url = "github:edolstra/nix-warez?dir=blender";
};
}; };
outputs = outputs =
inputs@{ nixpkgs, home-manager, ... }: inputs@{ nixpkgs, home-manager, ... }:

View File

@@ -1,10 +1,10 @@
{ inputs, pkgs, home, ... }: { inputs, pkgs, home, system, ... }:
let let
blenderPkgs = inputs.nix-warez.packages.${system};
in { in {
# whole blender config including addons is too fat to include here # whole blender config including addons is too fat to include here
home.packages = with pkgs; [ home.packages = with pkgs; [
blender blenderPkgs.blender_4_5
]; ];
# nix'ing a blender config is most likely not possible # nix'ing a blender config is most likely not possible
# could probs install blender addons through nix since they are fat fat mega fat to install TODO # could probs install blender addons through nix since they are fat fat mega fat to install TODO