From c4338a0276a304551e26a9e99c97feea23da8ac6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?benjamin=20melan=C3=A7on?= Date: Thu, 14 Aug 2025 12:35:58 -0400 Subject: [PATCH] Allow getting packages from unstable by prefixing unstable in package list --- configuration.nix | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/configuration.nix b/configuration.nix index a25bd4d..9ada0aa 100644 --- a/configuration.nix +++ b/configuration.nix @@ -372,8 +372,16 @@ # programs.appimage.enable = true; # programs.appimage.binfmt = true; - # Allow unfree packages - nixpkgs.config.allowUnfree = true; + nixpkgs.config = { + # Allow unfree packages + allowUnfree = true; + # Allow getting packages from unstable by prefixing unstable in package list. + packageOverrides = pkgs: { + unstable = import { + config = config.nixpkgs.config; + }; + }; + }; # TODO remove this when Logseq gets its act together # nixpkgs.config.permittedInsecurePackages = [