Allow getting packages from unstable by prefixing unstable in package list

This commit is contained in:
benjamin melançon 2025-08-14 12:35:58 -04:00
parent ad99d271cc
commit c4338a0276

View file

@ -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 <nixpkgs> {
config = config.nixpkgs.config;
};
};
};
# TODO remove this when Logseq gets its act together
# nixpkgs.config.permittedInsecurePackages = [