blob: 3dfa7f77c326c82407c0eb9ba55117a27019b291 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
{
packageOverrides = pkgs: rec {
chromium-wrapper = pkgs.stdenv.mkDerivation {
src = pkgs.chromium;
phases = [ "installPhase" ];
installPhase = ''
mkdir -p $out
cp -a $src/. $out/
'';
postInstall = ''
wrapProgram $out/bin/chromium \
--add-flags --force-device-scale-factor=1.6
'';
};
} // (import ../utils/nix/default.nix) {};
allowUnfree = true;
chromium = {
enableWideVine = true;
};
}
|