mirror of
https://github.com/Gerg-L/nixos.git
synced 2025-12-10 00:43:56 -05:00
disable nixpkgs aliases
This commit is contained in:
parent
3a917cafb6
commit
d99162c749
1 changed files with 8 additions and 1 deletions
|
|
@ -10,7 +10,14 @@ _: {
|
|||
};
|
||||
|
||||
config = {
|
||||
nixpkgs.config.allowUnfreePredicate = pkg: builtins.elem (lib.getName pkg) config.local.allowedUnfree;
|
||||
nixpkgs = {
|
||||
#TODO better way of doing this
|
||||
overlays = [(self: _: {inherit (self.stdenv.hostPlatform) system;})];
|
||||
config = {
|
||||
allowAliases = false;
|
||||
allowUnfreePredicate = pkg: builtins.elem (lib.getName pkg) config.local.allowedUnfree;
|
||||
};
|
||||
};
|
||||
|
||||
environment.defaultPackages = lib.mkForce (builtins.attrValues {
|
||||
inherit
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue