Extract a makemkv module, add it to lemp11

This commit is contained in:
Oliver Davies 2025-04-24 01:47:15 +01:00
parent 28d75ce6b8
commit 4107805044
12 changed files with 56 additions and 20 deletions

View file

@ -1,5 +1,6 @@
{
imports = [
./makemkv.nix
./mpv.nix
];
}

View file

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