Make handbrake configurable
This commit is contained in:
parent
818ecfa618
commit
e09de22f4b
4 changed files with 16 additions and 1 deletions
|
@ -0,0 +1,14 @@
|
|||
{
|
||||
config,
|
||||
lib,
|
||||
pkgs,
|
||||
...
|
||||
}:
|
||||
|
||||
{
|
||||
options.features.desktop.media.handbrake.enable = lib.mkEnableOption "Enable handbrake";
|
||||
|
||||
config = lib.mkIf config.features.desktop.media.handbrake.enable {
|
||||
home.packages = with pkgs; [ handbrake ];
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue