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; [
2025-06-28 00:10:59 +01:00
handbrake
2025-04-24 02:36:13 +01:00
];
};
}