diff options
author | Gregor Kleen <gkleen@yggdrasil.li> | 2022-02-24 23:11:54 +0100 |
---|---|---|
committer | Gregor Kleen <gkleen@yggdrasil.li> | 2022-02-24 23:11:54 +0100 |
commit | 2eec0d84eee2c11ba9ac06eb074f07380e40c50b (patch) | |
tree | a6c98c91e5a5c974e72b79b0c4717ed01e87b956 /accounts/gkleen@sif/default.nix | |
parent | c38c2ac088d08e2e1b918556f33a3b4383fcf30f (diff) | |
download | nixos-2eec0d84eee2c11ba9ac06eb074f07380e40c50b.tar nixos-2eec0d84eee2c11ba9ac06eb074f07380e40c50b.tar.gz nixos-2eec0d84eee2c11ba9ac06eb074f07380e40c50b.tar.bz2 nixos-2eec0d84eee2c11ba9ac06eb074f07380e40c50b.tar.xz nixos-2eec0d84eee2c11ba9ac06eb074f07380e40c50b.zip |
gkleen@sif: element-desktop
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 01232345..6a73eff0 100644 --- a/accounts/gkleen@sif/default.nix +++ b/accounts/gkleen@sif/default.nix | |||
@@ -59,6 +59,12 @@ let | |||
59 | wrapProgram $out/bin/zulip \ | 59 | wrapProgram $out/bin/zulip \ |
60 | --add-flags '--force-device-scale-factor=1.6' | 60 | --add-flags '--force-device-scale-factor=1.6' |
61 | ''; | 61 | ''; |
62 | wrappedElementDesktop = pkgs.runCommand "${pkgs.element-desktop.name}-wrapped" { buildInputs = with pkgs; [ makeWrapper ]; } '' | ||
63 | mkdir -p "$out/bin" | ||
64 | install -m 0755 ${pkgs.element-desktop}/bin/element-desktop $out/bin/element-desktop | ||
65 | wrapProgram $out/bin/element-desktop \ | ||
66 | --add-flags '--force-device-scale-factor=1.6' | ||
67 | ''; | ||
62 | in { | 68 | in { |
63 | imports = with flake.nixosModules.userProfiles.${userName}; [ | 69 | imports = with flake.nixosModules.userProfiles.${userName}; [ |
64 | mpv yt-dlp | 70 | mpv yt-dlp |
@@ -291,7 +297,7 @@ in { | |||
291 | xmonad worktime fira-code-symbols emacsclientDesktopItem | 297 | xmonad worktime fira-code-symbols emacsclientDesktopItem |
292 | libreoffice xournalpp wrappedChrome nixos-shell virt-viewer | 298 | libreoffice xournalpp wrappedChrome nixos-shell virt-viewer |
293 | freerdp gnome-icon-theme paper-icon-theme sshpassSecret | 299 | freerdp gnome-icon-theme paper-icon-theme sshpassSecret |
294 | weechat helvum | 300 | weechat helvum wrappedElementDesktop |
295 | ]; | 301 | ]; |
296 | 302 | ||
297 | file = { | 303 | file = { |