fucking(refactored): everything
This commit is contained in:
@@ -1,4 +1,6 @@
|
||||
{
|
||||
config,
|
||||
lib,
|
||||
inputs,
|
||||
pkgs,
|
||||
home,
|
||||
@@ -7,12 +9,18 @@
|
||||
}:
|
||||
let
|
||||
blenderPkgs = inputs.nix-warez.packages.${system};
|
||||
cfg = config.modules.blender;
|
||||
in
|
||||
{
|
||||
options.modules.blender = {
|
||||
enable = lib.mkEnableOption "Blender configuration module";
|
||||
};
|
||||
# whole blender config including addons is too fat to include here
|
||||
home.packages = with pkgs; [
|
||||
blenderPkgs.blender_4_5
|
||||
];
|
||||
config = lib.mkIf cfg.enable {
|
||||
home.packages = with pkgs; [
|
||||
blenderPkgs.blender_4_5
|
||||
];
|
||||
};
|
||||
# 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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user