commit bc033da4d9d0dcf3986b535d3abe23a4094e1501
parent ba23776469743468e2077db7eb24f882eab10682
Author: breadcat <breadcat@users.noreply.github.com>
Date: Tue, 13 Jan 2026 13:49:49 +0000
Some of these emulators aren't considered free
Diffstat:
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/common/emulators.nix b/common/emulators.nix
@@ -1,4 +1,4 @@
-{ pkgs, ... }:
+{ lib, pkgs, ... }:
let
retroarchWithCores = (
@@ -30,4 +30,9 @@ let
in
{
environment.systemPackages = [ retroarchWithCores ];
+
+ nixpkgs.config.allowUnfreePredicate = pkg: builtins.elem (lib.getName pkg) [
+ "libretro-genesis-plus-gx"
+ "libretro-snes9x"
+ ];
}