home/mpv: misc config
This commit is contained in:
@ -1,4 +1,16 @@
|
|||||||
{ machineVars, ... }:
|
{ config, lib, machineVars, ... }:
|
||||||
{
|
{
|
||||||
programs.mpv.enable = !machineVars.headless;
|
programs.mpv = {
|
||||||
}
|
enable = !machineVars.headless;
|
||||||
|
|
||||||
|
config = {
|
||||||
|
screenshot-directory = "${config.xdg.userDirs.pictures}/mpv-screenshots";
|
||||||
|
|
||||||
|
#https://wiki.nixos.org/wiki/Accelerated_Video_Playback
|
||||||
|
hwdec = "auto-safe";
|
||||||
|
vo = "gpu";
|
||||||
|
profile = "gpu-hq";
|
||||||
|
gpu-context = lib.mkIf machineVars.wayland "wayland";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
||||||
|
Reference in New Issue
Block a user