diff options
author | Gregor Kleen <gkleen@yggdrasil.li> | 2021-06-06 23:00:25 +0200 |
---|---|---|
committer | Gregor Kleen <gkleen@yggdrasil.li> | 2021-06-06 23:00:25 +0200 |
commit | 74589399f94a612aba45aa2ed3f6ef11819ef41c (patch) | |
tree | a0116269c580f0d00443271dae8d5e5789d176b3 /accounts/gkleen@sif/default.nix | |
parent | c7eedaeabe6f2eabd6521e41808fa25ffd6a7d9a (diff) | |
download | nixos-74589399f94a612aba45aa2ed3f6ef11819ef41c.tar nixos-74589399f94a612aba45aa2ed3f6ef11819ef41c.tar.gz nixos-74589399f94a612aba45aa2ed3f6ef11819ef41c.tar.bz2 nixos-74589399f94a612aba45aa2ed3f6ef11819ef41c.tar.xz nixos-74589399f94a612aba45aa2ed3f6ef11819ef41c.zip |
gkleen@sif: google-chrome
Diffstat (limited to 'accounts/gkleen@sif/default.nix')
-rw-r--r-- | accounts/gkleen@sif/default.nix | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/accounts/gkleen@sif/default.nix b/accounts/gkleen@sif/default.nix index a318a8ee..0d36478c 100644 --- a/accounts/gkleen@sif/default.nix +++ b/accounts/gkleen@sif/default.nix | |||
@@ -47,6 +47,12 @@ let | |||
47 | --prefix PATH : ${pkgs.pulseaudio}/bin | 47 | --prefix PATH : ${pkgs.pulseaudio}/bin |
48 | ''; | 48 | ''; |
49 | }; | 49 | }; |
50 | wrappedChrome = pkgs.runCommand "${pkgs.google-chrome.name}-wrapped" {} '' | ||
51 | mkdir -p "$out/bin" | ||
52 | install -m 0755 ${pkgs.google-chrome}/bin/google-chrome-stable $out/bin/google-chrome | ||
53 | wrapProgram $out/bin/google-chrome \ | ||
54 | --add-flags '--force-device-scale-factor=1.6' | ||
55 | ''; | ||
50 | in { | 56 | in { |
51 | imports = with flake.nixosModules.userProfiles.${userName}; [ | 57 | imports = with flake.nixosModules.userProfiles.${userName}; [ |
52 | mpv | 58 | mpv |
@@ -208,7 +214,7 @@ in { | |||
208 | thunderbird zulip zoom-us steam steam-run wireshark skype | 214 | thunderbird zulip zoom-us steam steam-run wireshark skype |
209 | virt-manager rclone cached-nix-shell xournal discord xmonad | 215 | virt-manager rclone cached-nix-shell xournal discord xmonad |
210 | worktime fira-code-symbols emacsclientDesktopItem libreoffice | 216 | worktime fira-code-symbols emacsclientDesktopItem libreoffice |
211 | xournalpp | 217 | xournalpp wrappedChrome |
212 | ]; | 218 | ]; |
213 | 219 | ||
214 | file = { | 220 | file = { |