mirror of
https://codeberg.org/leana8959/.files.git
synced 2025-12-06 14:49:14 +00:00
nix: +nixosModules.unfree-predicate
This commit is contained in:
parent
b8691b4adc
commit
14d97d81bf
2 changed files with 25 additions and 23 deletions
20
nix/nixosModules/shared/unfree-predicate/default.nix
Normal file
20
nix/nixosModules/shared/unfree-predicate/default.nix
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
{ lib, ... }:
|
||||
|
||||
{
|
||||
nixpkgs.config.allowUnfreePredicate =
|
||||
pkg:
|
||||
builtins.elem (lib.getName pkg) [
|
||||
"discord"
|
||||
"languagetool"
|
||||
|
||||
"brscan5"
|
||||
"brscan5-etc-files"
|
||||
|
||||
"steam"
|
||||
"steam-original"
|
||||
"steam-run"
|
||||
|
||||
"vscode"
|
||||
"code"
|
||||
];
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue