mirror of
https://github.com/buckley310/nixos-config.git
synced 2024-12-21 19:24:15 +00:00
enumerate unfree packages
This commit is contained in:
parent
ba49cddf03
commit
70335149b6
1 changed files with 18 additions and 1 deletions
|
@ -19,7 +19,24 @@
|
|||
];
|
||||
};
|
||||
|
||||
nixpkgs.config.allowUnfree = true;
|
||||
nixpkgs.config.allowUnfreePredicate =
|
||||
pkg:
|
||||
# builtins.trace "unfree: ${lib.getName pkg}" (
|
||||
builtins.elem (lib.getName pkg) [
|
||||
"cuda_cudart"
|
||||
"libcublas"
|
||||
"cuda_cccl"
|
||||
"cuda_nvcc"
|
||||
"nvidia-x11"
|
||||
"vscode-with-extensions"
|
||||
"vscode"
|
||||
"burpsuite"
|
||||
"terraform"
|
||||
"discord"
|
||||
"steam"
|
||||
"steam-unwrapped"
|
||||
"nvidia-settings"
|
||||
];
|
||||
|
||||
security.sudo.extraConfig = "Defaults lecture=never";
|
||||
|
||||
|
|
Loading…
Reference in a new issue