mirror of
https://codeberg.org/leana8959/.files.git
synced 2025-12-06 06:39:14 +00:00
Another saturday another useless formatter change. It's my dotfiles, after all alejandra doesn't handle c-style inline comments well.
29 lines
397 B
Nix
29 lines
397 B
Nix
{ lib, ... }:
|
|
{
|
|
nixpkgs.config.allowUnfreePredicate = lib.mkDefault (
|
|
pkg:
|
|
let
|
|
name = lib.getName pkg;
|
|
in
|
|
builtins.elem name [
|
|
"languagetool"
|
|
|
|
"vscode"
|
|
"code"
|
|
|
|
"tampermonkey"
|
|
|
|
"aseprite"
|
|
|
|
"posy-cursors"
|
|
|
|
"discord"
|
|
]
|
|
|| builtins.any (lib.flip lib.hasInfix name) [
|
|
# Scanner
|
|
"brscan5"
|
|
|
|
"steam"
|
|
]
|
|
);
|
|
}
|