This commit is contained in:
Lucy Hochkamp 2025-09-10 15:33:48 +02:00
parent c999ed6520
commit 35c8ebb56a
No known key found for this signature in database
20 changed files with 670 additions and 405 deletions

20
hm-modules/mpv.nix Normal file
View file

@ -0,0 +1,20 @@
{
pkgs,
config,
lib,
inputs,
...
}:
let
cfg = config.xyno.mpv;
in
{
options.xyno.mpv.enable = lib.mkOption { default = false; };
config = lib.mkIf cfg.enable {
programs.mpv = {
enable = true;
scripts = with pkgs.mpvScripts; [ mpv-webm sponsorblock ];
};
};
}