make mpv config properly nixified

This commit is contained in:
2025-03-07 18:41:00 +00:00
parent ac0d3e85a0
commit 68bdb4862f
2 changed files with 12 additions and 13 deletions

View File

@@ -43,6 +43,18 @@
mpv = lib.mkDefault {
enable = true;
package = (
pkgs.mpv-unwrapped.wrapper {
scripts = with pkgs.mpvScripts; [
uosc
sponsorblock
];
mpv = pkgs.mpv-unwrapped.override {
waylandSupport = true;
};
}
);
config = {
screenshot-directory = "~/Pictures/";
screenshot-template = "%F/%F_snapshot_%P";