mirror of
https://codeberg.org/leana8959/.files.git
synced 2026-02-04 07:59:40 +00:00
Add tungsten (#9)
Reviewed-on: https://codeberg.org/leana8959/.files/pulls/9 Co-authored-by: Léana 江 <leana.jiang+git@icloud.com> Co-committed-by: Léana 江 <leana.jiang+git@icloud.com>
This commit is contained in:
parent
1848be039a
commit
b20a752858
41 changed files with 1749 additions and 43 deletions
26
nix/configurations/tungsten/nixos/unfree-predicate.nix
Normal file
26
nix/configurations/tungsten/nixos/unfree-predicate.nix
Normal file
|
|
@ -0,0 +1,26 @@
|
|||
{lib, ...}: {
|
||||
nixpkgs.config.allowUnfreePredicate = lib.mkDefault (
|
||||
pkg: let
|
||||
name = lib.getName pkg;
|
||||
in
|
||||
builtins.elem name [
|
||||
# wifi driver
|
||||
"broadcom-sta"
|
||||
|
||||
"languagetool"
|
||||
|
||||
"vscode"
|
||||
"code"
|
||||
|
||||
"tampermonkey"
|
||||
|
||||
"aseprite"
|
||||
]
|
||||
|| builtins.any (lib.flip lib.hasInfix name) [
|
||||
# Scanner
|
||||
"brscan5"
|
||||
|
||||
"steam"
|
||||
]
|
||||
);
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue