mv blender to module
All checks were successful
nix flake show / show-flake (push) Successful in 38s
All checks were successful
nix flake show / show-flake (push) Successful in 38s
This commit is contained in:
parent
8da7382a1a
commit
904e582cc8
@ -41,7 +41,6 @@
|
||||
|
||||
environment.systemPackages = with pkgs; [
|
||||
komikku
|
||||
blender
|
||||
inkscape
|
||||
];
|
||||
|
||||
|
||||
@ -30,6 +30,7 @@ in
|
||||
obsidian.enable = true;
|
||||
kdenlive.enable = true;
|
||||
thunderbird.enable = true;
|
||||
blender.enable = true;
|
||||
};
|
||||
};
|
||||
}
|
||||
|
||||
17
modules/nix/office/blender.nix
Normal file
17
modules/nix/office/blender.nix
Normal 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
|
||||
];
|
||||
};
|
||||
}
|
||||
@ -4,5 +4,6 @@
|
||||
./office.nix
|
||||
./obsidian.nix
|
||||
./kdenlive.nix
|
||||
./blender.nix
|
||||
];
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user