nix-config/modules/home-manager/desktop/media/handbrake.nix

22 lines
268 B
Nix
Raw Normal View History

2025-04-24 02:36:13 +01:00
{
config,
lib,
pkgs,
...
}:
with lib;
let
2025-05-03 16:50:27 +01:00
cfg = config.desktop.media.handbrake;
2025-04-24 02:36:13 +01:00
in
{
2025-05-03 16:50:27 +01:00
options.desktop.media.handbrake.enable = mkEnableOption "Enable handbrake";
2025-04-24 02:36:13 +01:00
config = mkIf cfg.enable {
home.packages = with pkgs; [
handbrake
];
};
}