Re-enable dolphin-emu-primehack now that binary build is fixed in 25.11. Re-enable fluffychat as security issues have been resolved in nixpkgs 25.11. Both packages verified to build and function correctly.
44 lines
1.1 KiB
Nix
44 lines
1.1 KiB
Nix
{ lib, config, pkgs, ... }:
|
|
|
|
with lib;
|
|
|
|
let
|
|
cfg = config.roles.desktop;
|
|
in
|
|
{
|
|
config = mkMerge [
|
|
(mkIf (cfg.enable && cfg.gaming.enable) {
|
|
environment.systemPackages = with pkgs; [
|
|
lutris
|
|
moonlight
|
|
|
|
# Emulators
|
|
dolphin-emu
|
|
|
|
# Re-enabled in 25.11 after binary build was fixed
|
|
dolphin-emu-primehack
|
|
|
|
# Experimenting with just using the steam version + downloading
|
|
# indiviudal cores
|
|
#retroarch-full
|
|
ryubing
|
|
];
|
|
|
|
programs.steam = {
|
|
enable = true;
|
|
remotePlay.openFirewall = true;
|
|
dedicatedServer.openFirewall = true;
|
|
localNetworkGameTransfers.openFirewall = true;
|
|
};
|
|
|
|
# TODO: Remove me once dolphin-emu and dolphin-emu-primehack update
|
|
# dependencies to mbedtls from mbedtls_2 (which is currently)
|
|
# unmaintained
|
|
nixpkgs.config.permittedInsecurePackages = [ "mbedtls-2.28.10" ];
|
|
warnings = [
|
|
"Using insecure mbedtls-2.28.10 for Dolphin Emu - check for updates regularly"
|
|
];
|
|
})
|
|
];
|
|
}
|