bert: Simplify factorio allowUnfreePredicate

This commit is contained in:
Chandler Swift 2025-03-16 12:15:54 -05:00
parent 14e899476b
commit 577177e0f1
Signed by: chandlerswift
GPG key ID: A851D929D52FB93F

View file

@ -1,5 +1,5 @@
{pkgs, lib, ...}: {
nixpkgs.config.allowUnfreePredicate = pkg: builtins.elem (lib.getName pkg) [
{lib, ...}: {
nixpkgs.config.allowUnfreePredicate = pkg: builtins.elem pkg.pname [
"factorio-headless"
];
services.factorio = {