nixos-config/roles/creative.nix
2024-12-20 20:11:22 +01:00

23 lines
432 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
kdenlive
];
};
};
};
}