diff --git a/home/programs/default.nix b/home/programs/default.nix index 4945458..b553a1b 100644 --- a/home/programs/default.nix +++ b/home/programs/default.nix @@ -22,7 +22,6 @@ home.packages = with pkgs; [ _1password-gui - celluloid discord evince git-crypt diff --git a/home/programs/mpv.nix b/home/programs/mpv.nix index 3ae22f0..b0f19a0 100644 --- a/home/programs/mpv.nix +++ b/home/programs/mpv.nix @@ -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 = { enable = true; package = pkgs.mpv.override { youtubeSupport = true; };