mv blender to module
All checks were successful
nix flake show / show-flake (push) Successful in 38s

This commit is contained in:
smayzy 2025-07-17 16:08:25 +02:00
parent 8da7382a1a
commit 904e582cc8
4 changed files with 19 additions and 1 deletions

View File

@ -41,7 +41,6 @@
environment.systemPackages = with pkgs; [
komikku
blender
inkscape
];

View File

@ -30,6 +30,7 @@ in
obsidian.enable = true;
kdenlive.enable = true;
thunderbird.enable = true;
blender.enable = true;
};
};
}

View File

@ -0,0 +1,17 @@
{ lib, config, pkgs, ... }:
let
inherit (lib) mkIf mkOption types;
in
{
options.smayzy.blender.enable = mkOption {
type = types.bool;
default = false;
description = "blender";
};
config = mkIf config.smayzy.blender.enable {
environment.systemPackages = with pkgs; [
blender
];
};
}

View File

@ -4,5 +4,6 @@
./office.nix
./obsidian.nix
./kdenlive.nix
./blender.nix
];
}