bert: Simplify factorio allowUnfreePredicate
This commit is contained in:
parent
14e899476b
commit
577177e0f1
|
@ -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 = {
|
||||
|
|
Loading…
Reference in a new issue