Dmitriy Holkin a25a6a1d06 Fixes
2019-09-17 23:07:22 +04:00

16 lines
360 B
Nix

{ config, lib, pkgs, ... }:
with rec {
inherit (config) deviceSpecific;
};
with deviceSpecific; {
home-manager.users.alukard.programs.mpv = {
enable = true;
config = {
ytdl-format = if isLaptop then
"bestvideo[height<=?1080]+bestaudio/best"
else
"bestvideo+bestaudio/best";
# cache-default = 4000000;
};
};
}