mirror of
https://github.com/Ahwxorg/nixos-config.git
synced 2025-12-04 23:00:14 +01:00
33 lines
496 B
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
|
|
];
|
|
};
|
|
};
|
|
};
|
|
}
|