nixos-config/roles/creative.nix

33 lines
496 B
Nix

{
lib,
pkgs,
config,
username,
home-manager,
...
}:
with lib;
let
cfg = config.liv.creative;
in
{
options.liv.creative = {
enable = mkEnableOption "Enable creative workflow";
};
config = mkIf cfg.enable {
home-manager = {
users.${username} = {
home.packages = with pkgs; [
gimp
darktable
audacity
obs-studio
kdePackages.kdenlive
orca-slicer
freecad
];
};
};
};
}