use mpv config for celluloid

This commit is contained in:
Adithya 2023-04-09 17:24:23 +05:30
parent 68439cb5b9
commit 987d676ed1
Signed by: adtya
GPG key ID: 48FC9915FFD326D0
2 changed files with 7 additions and 2 deletions

View file

@ -22,7 +22,6 @@
home.packages = with pkgs; [ home.packages = with pkgs; [
_1password-gui _1password-gui
celluloid
discord discord
evince evince
git-crypt git-crypt

View file

@ -1,4 +1,10 @@
{ pkgs, ... }: { { config, pkgs, ... }: {
home.packages = with pkgs; [ celluloid ];
dconf.settings = {
"io/github/celluloid-player/celluloid" = {
mpv-config-file = "file://${config.home.homeDirectory}/${config.xdg.configFile."mpv/mpv.conf".target}";
};
};
programs.mpv = { programs.mpv = {
enable = true; enable = true;
package = pkgs.mpv.override { youtubeSupport = true; }; package = pkgs.mpv.override { youtubeSupport = true; };