mirror of
https://github.com/zoriya/flake.git
synced 2025-12-06 06:36:19 +00:00
Enablel hwdec to mpv
This commit is contained in:
@@ -22,7 +22,6 @@ in {
|
||||
firefox
|
||||
zen-browser.packages.${pkgs.system}.default
|
||||
vesktop
|
||||
mpv
|
||||
freecad
|
||||
kicad
|
||||
xdg-utils
|
||||
@@ -43,6 +42,17 @@ in {
|
||||
BROWSER = "zen";
|
||||
DEFAULT_BROWSER = BROWSER;
|
||||
};
|
||||
|
||||
programs.mpv = {
|
||||
enable = true;
|
||||
config = {
|
||||
hwdec = "auto";
|
||||
};
|
||||
scripts = with pkgs.mpvScripts; [
|
||||
mpris
|
||||
];
|
||||
};
|
||||
|
||||
xdg = {
|
||||
enable = true;
|
||||
mime.enable = true;
|
||||
|
||||
Reference in New Issue
Block a user