diff options
Diffstat (limited to 'home/mpv')
-rw-r--r-- | home/mpv/default.nix | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/home/mpv/default.nix b/home/mpv/default.nix deleted file mode 100644 index c2a3a6a..0000000 --- a/home/mpv/default.nix +++ /dev/null @@ -1,28 +0,0 @@ -{ lib, config, pkgs, ... }: -let cfg = config.my.home.mpv; -in -{ - options.my.home.mpv = with lib; { - enable = mkEnableOption "mpv configuration"; - }; - - config = lib.mkIf cfg.enable { - programs.mpv = { - enable = true; - config = { - sub-auto = "fuzzy"; - vo = "gpu"; - hwdec = "auto-safe"; - gpu-context = "wayland"; - audio-display = "no"; - cache-pause = "no"; - cache = "yes"; - mute = "no"; - osc = "yes"; - screenshot-directory = "~/documents/screenshots/mpv-screenshots/"; - screenshot-format = "png"; - }; - scripts = lib.attrVals [ "sponsorblock" ] pkgs.mpvScripts; - }; - }; -} |