Convert MPV configuration to module

This commit is contained in:
Yorick Barbanneau 2023-12-30 20:07:54 +01:00
parent 018242e2a5
commit a8ec1a644c
2 changed files with 12 additions and 7 deletions

View file

@ -2,11 +2,16 @@
config.modules = { config.modules = {
application = { application = {
zathura.enable = true; zathura.enable = true;
};
cli = {
neovim.enable = true;
vifm.enable = true;
zsh.enable = true;
};
video = {
kdenlive.enable = false;
mpv.enable = true; mpv.enable = true;
}; };
cli.neovim.enable = true;
cli.vifm.enable = true;
video.kdenlive.enable = false;
web.firefox.enable = true; web.firefox.enable = true;
web.qutebrowser.enable = true; web.qutebrowser.enable = true;
web.webcord.enable = true; web.webcord.enable = true;

View file

@ -11,10 +11,10 @@ in
programs.mpv = { programs.mpv = {
enable = true; enable = true;
config = { config = {
hwdec = auto-safe; hwdec = "auto-safe";
vo = gpu; vo = "gpu";
profile = gpu-hq; profile = "gpu-hq";
gpu-context = wayland; gpu-context = "wayland";
}; };
}; };
xdg.mimeApps.defaultApplications = { xdg.mimeApps.defaultApplications = {