feat: allow unfree packages on user level (e. g. nix-shell)

This commit is contained in:
leonhard committed 2026-11-18 15:13:21 +01:00
1 parent 371b13e8b5
commit 6091a6ee5c
1 file changed
+1
+1
View File
@@ -27,6 +27,7 @@ in
};
xdg.enable = true;
xdg.configFile."nixpkgs/config.nix".text = "{ allowUnfree = true; }";
nix-leonhard = lib.mkIf (osConfig != null) (
mkDefaultSharedAttrs config.nix-leonhard (osConfig.nix-leonhard or { })