summaryrefslogtreecommitdiff
path: root/users
diff options
context:
space:
mode:
authorGregor Kleen <gkleen@yggdrasil.li>2016-05-14 20:57:31 +0200
committerGregor Kleen <gkleen@yggdrasil.li>2016-05-14 20:57:31 +0200
commit0f0bf6282bd77fb07cb3e3bb6326342afe6cc115 (patch)
treec4b8a71b3aa4603ef7522028aed468b0c4f1af34 /users
parentbde63da0e41985de6fd1d82e0fd060393d3e4729 (diff)
downloadnixos-0f0bf6282bd77fb07cb3e3bb6326342afe6cc115.tar
nixos-0f0bf6282bd77fb07cb3e3bb6326342afe6cc115.tar.gz
nixos-0f0bf6282bd77fb07cb3e3bb6326342afe6cc115.tar.bz2
nixos-0f0bf6282bd77fb07cb3e3bb6326342afe6cc115.tar.xz
nixos-0f0bf6282bd77fb07cb3e3bb6326342afe6cc115.zip
attempt at chromium dpi override
Diffstat (limited to 'users')
-rw-r--r--users/gkleen@hel.nix14
1 files changed, 12 insertions, 2 deletions
diff --git a/users/gkleen@hel.nix b/users/gkleen@hel.nix
index 7683fc68..19546864 100644
--- a/users/gkleen@hel.nix
+++ b/users/gkleen@hel.nix
@@ -1,12 +1,22 @@
1{ 1{
2 packageOverrides = pkgs: rec { 2 packageOverrides = pkgs: rec {
3 chromium = pkgs.stdenv.mkDerivation {
4 src = pkgs.chromium;
5 phases = [ "installPhase" ];
6 installPhase = ''
7 mkdir -p $out
8 cp -a $src/. $out/
9 '';
10 postInstall = ''
11 wrapProgram $out/bin/chromium \
12 --add-flags --force-device-scale-factor=1.6
13 '';
14 };
3 } // (import ../utils/nix/default.nix) {}; 15 } // (import ../utils/nix/default.nix) {};
4 16
5 allowUnfree = true; 17 allowUnfree = true;
6 18
7 chromium = { 19 chromium = {
8 enableWideVine = true; 20 enableWideVine = true;
9 pulseSupport = true;
10 hiDPISupport = true;
11 }; 21 };
12} 22}