Extract a makemkv module, add it to lemp11
This commit is contained in:
parent
28d75ce6b8
commit
4107805044
12 changed files with 56 additions and 20 deletions
|
@ -1,5 +1,6 @@
|
|||
{
|
||||
imports = [
|
||||
./makemkv.nix
|
||||
./mpv.nix
|
||||
];
|
||||
}
|
||||
|
|
21
modules/home-manager/desktop/media/makemkv.nix
Normal file
21
modules/home-manager/desktop/media/makemkv.nix
Normal 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
|
||||
];
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue