{ packageOverrides = pkgs: rec { chromium-wrapper = pkgs.symlinkJoin { name = "chromium-wrapper"; paths = [ pkgs.chromium ]; buildInputs = [ pkgs.makeWrapper ]; postBuild = '' wrapProgram $out/bin/chromium \ --add-flags --force-device-scale-factor=1.6 ''; }; gnupg = pkgs.lib.overrideDerivation pkgs.gnupg (oldAttrs: { postBuild = '' wrapProgram $out/bin/gpg \ --run "while ! systemctl --user show-environment | grep -qE '^DISPLAY='; do sleep 1; done" ''; postInstall = '' ln -s $out/bin/gpg2 $out/bin/gpg ''; }); } // (import ../utils/nix/default.nix) {}; allowUnfree = true; chromium = { enableWideVine = true; enablePepperFlash = true; }; mpv = { vaapiSupport = true; }; }