feat: allow unfree packages on user level (e. g. nix-shell)
This commit is contained in:
1 parent
371b13e8b5
commit
6091a6ee5c
1 file changed
+1
@@ -27,6 +27,7 @@ in
|
|||||||
};
|
};
|
||||||
|
|
||||||
xdg.enable = true;
|
xdg.enable = true;
|
||||||
|
xdg.configFile."nixpkgs/config.nix".text = "{ allowUnfree = true; }";
|
||||||
|
|
||||||
nix-leonhard = lib.mkIf (osConfig != null) (
|
nix-leonhard = lib.mkIf (osConfig != null) (
|
||||||
mkDefaultSharedAttrs config.nix-leonhard (osConfig.nix-leonhard or { })
|
mkDefaultSharedAttrs config.nix-leonhard (osConfig.nix-leonhard or { })
|
||||||
|
|||||||
Reference in new issue
Block a user