summaryrefslogtreecommitdiff
path: root/users/gkleen@hel.nix
diff options
context:
space:
mode:
Diffstat (limited to 'users/gkleen@hel.nix')
-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}