From d4a1148120eaf70953b42754182bb43f14d277c0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Torjus=20H=C3=A5kestad?= Date: Fri, 8 Nov 2024 13:42:19 +0100 Subject: [PATCH] Override zoom version --- home/packages/default.nix | 4 +++- home/packages/zoom.nix | 16 ++++++++++++++++ 2 files changed, 19 insertions(+), 1 deletion(-) create mode 100644 home/packages/zoom.nix diff --git a/home/packages/default.nix b/home/packages/default.nix index 28b9655..f50b635 100644 --- a/home/packages/default.nix +++ b/home/packages/default.nix @@ -3,6 +3,9 @@ let withCuda = if (osConfig.system.name == "gunter") then true else false; in { + imports = [ + ./zoom.nix + ]; home.packages = with pkgs; [ # CLI utils act @@ -63,7 +66,6 @@ in virt-manager vmware-horizon-client yt-dlp - zoom-us # k8s tools cilium-cli diff --git a/home/packages/zoom.nix b/home/packages/zoom.nix new file mode 100644 index 0000000..c40d377 --- /dev/null +++ b/home/packages/zoom.nix @@ -0,0 +1,16 @@ +{ pkgs, lib, ... }: +let + version = "6.2.6.2503"; + zoom-override = pkgs.zoom-us.overrideAttrs (old: { + inherit version; + src = pkgs.fetchurl { + url = "https://zoom.us/client/${version}/zoom_x86_64.pkg.tar.xz"; + hash = "sha256-qhymegXkXSl9fK/5klSi5uRPwFVN88QH/5EVGaBUbfc="; + }; + }); +in +{ + home.packages = [ + (lib.warn "Using overridden zoom version" zoom-override) + ]; +}