Extract a handbrake module

This commit is contained in:
Oliver Davies 2025-04-24 02:36:13 +01:00
parent 4107805044
commit 4fc348ff45
5 changed files with 24 additions and 1 deletions

View file

@ -0,0 +1,21 @@
{
config,
lib,
pkgs,
...
}:
with lib;
let
cfg = config.homeManagerModules.desktop.media.handbrake;
in
{
options.homeManagerModules.desktop.media.handbrake.enable = mkEnableOption "Enable handbrake";
config = mkIf cfg.enable {
home.packages = with pkgs; [
handbrake
];
};
}