diff --git a/home/package-sets/communication.nix b/home/package-sets/communication.nix index 5932af0..d402bb3 100644 --- a/home/package-sets/communication.nix +++ b/home/package-sets/communication.nix @@ -7,10 +7,6 @@ ... }: let cfg = config.nixfiles.packageSets.communication; - rustdesk-pkg = - if (lib.strings.hasInfix "23.11" lib.version) - then inputs.nixpkgs-unstable.legacyPackages.${pkgs.system}.rustdesk-flutter - else pkgs.rustdesk-flutter; vesktop-ozone-cmd = let extraFlags = lib.optionalString config.nixfiles.workarounds.nvidiaPrimary " --disable-gpu"; @@ -52,7 +48,7 @@ in { signal-desktop thunderbird vesktop - rustdesk-pkg + rustdesk-flutter tor-browser onionshare ] diff --git a/overlays/mitigations.nix b/overlays/mitigations.nix index c7ff70c..96d6500 100644 --- a/overlays/mitigations.nix +++ b/overlays/mitigations.nix @@ -9,7 +9,10 @@ # not high priority, this still works well for this overlay. nixfiles = self; overlay = final: prev: let - pkgsStable = import nixfiles.inputs.nixpkgs.outPath {inherit (prev) system;}; + pkgsStable = import nixfiles.inputs.nixpkgs.outPath { + inherit (prev) system; + config.allowUnfree = true; + }; updateTime = nixfiles.inputs.nixpkgs-unstable.lastModified; inherit (final) callPackage fetchFromGitHub; @@ -84,6 +87,13 @@ inherit (prev) redlib; in pickNewer redlib-new redlib; + + rustdesk-flutter = let + stable = pkgsStable.rustdesk-flutter; + unstable = prev.rustdesk-flutter; + now = 1741899501; + in + hold now 7 stable unstable; } // ( lib.genAttrs [