add mpv in home package
This commit is contained in:
parent
ae041d5988
commit
64df3f9630
3 changed files with 18 additions and 0 deletions
16
home/modules/mpv.nix
Normal file
16
home/modules/mpv.nix
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
{ lib, config, ... }:
|
||||
let
|
||||
cfg = config.youthlic.programs.mpv;
|
||||
in
|
||||
{
|
||||
options = {
|
||||
youthlic.programs.mpv = {
|
||||
enable = lib.mkEnableOption "mpv";
|
||||
};
|
||||
};
|
||||
config = lib.mkIf cfg.enable {
|
||||
programs.mpv = {
|
||||
enable = true;
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue