home(mpv): enable mpv and add va configuration
This commit is contained in:
parent
1e59d53a71
commit
7edb874ff2
1 changed files with 14 additions and 0 deletions
14
home/mpv/home.nix
Normal file
14
home/mpv/home.nix
Normal file
|
@ -0,0 +1,14 @@
|
|||
{ pkgs
|
||||
, lib
|
||||
, config
|
||||
, ... }: with lib; mkIf config.passthrough.gui {
|
||||
programs.mpv = {
|
||||
enable = true;
|
||||
config = {
|
||||
hwdec = "auto-safe";
|
||||
vo = "gpu";
|
||||
profile = "gpu-hq";
|
||||
gpu-context = "wayland";
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue