From ba4d4bba1bdcf317f2f00a85048effe3c8c7f56e Mon Sep 17 00:00:00 2001 From: Tristan Date: Mon, 3 Nov 2025 15:39:47 +0000 Subject: [PATCH] zenix: add retroarch and warpinator --- nixos/programs/gamer.nix | 13 ++++++++++++- nixos/programs/personal.nix | 6 +++++- 2 files changed, 17 insertions(+), 2 deletions(-) diff --git a/nixos/programs/gamer.nix b/nixos/programs/gamer.nix index e1ddbec..ffd64c0 100644 --- a/nixos/programs/gamer.nix +++ b/nixos/programs/gamer.nix @@ -1,4 +1,4 @@ -{...}: { +{pkgs, ...}: { allowUnfreePkgNames = [ "steam" "steam-unwrapped" @@ -27,4 +27,15 @@ capSysNice = true; }; programs.gamemode.enable = true; + nixpkgs.config.permittedInsecurePackages = [ + "mbedtls-2.28.10" + ]; + services.xserver.desktopManager.retroarch = { + enable = true; + package = pkgs.retroarch.withCores (cores: + with cores; [ + bsnes + beetle-psx-hw + ]); + }; } diff --git a/nixos/programs/personal.nix b/nixos/programs/personal.nix index 2a937b6..40f5cbd 100644 --- a/nixos/programs/personal.nix +++ b/nixos/programs/personal.nix @@ -1,4 +1,4 @@ -{...}: { +{pkgs, ...}: { i18n.supportedLocales = [ "eo/UTF-8" "en_GB.UTF-8/UTF-8" @@ -9,4 +9,8 @@ enable = true; }; }; + environment.systemPackages = with pkgs; [ + warpinator + ]; + networking.firewall.allowedTCPPorts = [42000 42001]; }