Switch to allowUnfree -> allowUnfreePredicate
This commit is contained in:
parent
eec73fe62b
commit
6ec28c4ddc
1 changed files with 9 additions and 2 deletions
|
|
@ -19,6 +19,15 @@ in
|
|||
../profiles/minimal.nix
|
||||
];
|
||||
|
||||
nixpkgs.config.allowUnfreePredicate =
|
||||
pkg:
|
||||
builtins.elem (lib.getName pkg) [
|
||||
"1password"
|
||||
"1password-cli"
|
||||
"nvidia-x11"
|
||||
"nvidia-settings"
|
||||
];
|
||||
|
||||
# FILE SYSTEM
|
||||
|
||||
fileSystems."/boot" = {
|
||||
|
|
@ -209,8 +218,6 @@ in
|
|||
};
|
||||
i18n.defaultLocale = "en_US.UTF-8";
|
||||
|
||||
nixpkgs.config.allowUnfree = true;
|
||||
|
||||
nix.settings = {
|
||||
substituters = [ "https://cache.nixos-cuda.org" ];
|
||||
trusted-public-keys = [ "cache.nixos-cuda.org:74DUi4Ye579gUqzH4ziL9IyiJBlDpMRn9MBN8oNan9M=" ];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue