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 = [