From 60d5c33403ec21d5028afd54f09e34b906f55631 Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Sat, 21 Aug 2021 13:13:13 +0200 Subject: gkleen@sif: wrap zulip --- accounts/gkleen@sif/default.nix | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'accounts/gkleen@sif/default.nix') diff --git a/accounts/gkleen@sif/default.nix b/accounts/gkleen@sif/default.nix index e9671ecb..ebd081bc 100644 --- a/accounts/gkleen@sif/default.nix +++ b/accounts/gkleen@sif/default.nix @@ -53,6 +53,12 @@ let wrapProgram $out/bin/google-chrome \ --add-flags '--force-device-scale-factor=1.6' ''; + wrappedZulip = pkgs.runCommand "${pkgs.zulip.name}-wrapped" { buildInputs = with pkgs; [ makeWrapper ]; } '' + mkdir -p "$out/bin" + install -m 0755 ${pkgs.zulip}/bin/zulip $out/bin/zulip + wrapProgram $out/bin/zulip \ + --add-flags '--force-device-scale-factor=1.6' + ''; in { imports = with flake.nixosModules.userProfiles.${userName}; [ mpv @@ -212,7 +218,7 @@ in { youtube-dl sxiv xclip mumble pulseaudio-ctl libnotify synergy xorg.xbacklight screen-message pidgin-with-plugins google-play-music-desktop-player qt5ct playerctl evince - thunderbird zulip zoom-us steam steam-run wireshark skype + thunderbird wrappedZulip zoom-us steam steam-run wireshark skype virt-manager rclone cached-nix-shell xournal discord xmonad worktime fira-code-symbols emacsclientDesktopItem libreoffice xournalpp wrappedChrome -- cgit v1.2.3