summaryrefslogtreecommitdiff
path: root/users/gkleen@hel.nix
blob: 4d116820790adab0329e284055b13a7435d58fe7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
{
  packageOverrides = pkgs: rec {
    chromium-wrapper = pkgs.symlinkJoin {
      name = "chromium-wrapper";
      paths = [ pkgs.chromium ];
      buildInputs = [ pkgs.makeWrapper ];
      postBuild = ''
        mkdir -p $out
        cp -a $src/. $out/
        wrapProgram $out/bin/chromium \
	  --add-flags --force-device-scale-factor=1.6
      '';
    };
  } // (import ../utils/nix/default.nix) {};

  allowUnfree = true;

  chromium = {
    enableWideVine = true;
  };
}