[Gaming+Flake] add suyu flake and add back yuzu using suyu fork

This commit is contained in:
Antoine Viallon 2024-03-11 00:17:49 +01:00
parent 48136970db
commit 470e333d00
Signed by: aviallon
GPG key ID: 186FC35EDEB25716
2 changed files with 9 additions and 3 deletions

View file

@ -1,4 +1,4 @@
{ config, pkgs, lib, myLib, ... }:
{ config, pkgs, lib, myLib, suyu, ... }:
with lib;
let
cfg = config.aviallon.desktop;
@ -12,10 +12,10 @@ in {
enable = mkEnableOption "gaming features";
emulation = mkEnableOption "console emulators";
yuzu.package = mkOption {
description = "Yuzu switch emulator package";
type = with types; package;
description = "Yuzu switch emulator package. WARNING: removed from nixpkgs";
example = pkgs.yuzu-early-access;
default = pkgs.unstable.yuzu-early-access;
default = suyu.packages.${builtins.currentSystem}.suyu;
};
ryujinx.package = mkOption {
description = "Ryujinx Switch emulator package";

View file

@ -5,6 +5,11 @@
nixpkgs-master.url = "github:NixOS/nixpkgs/master";
nur.url = "github:nix-community/NUR";
suyu = {
url = "github:Noodlez1232/suyu-flake";
inputs.nixpkgs.follows = "nixpkgs";
inputs.flake-utils.follows = "flake-utils";
};
fps.url = "github:wamserma/flake-programs-sqlite";
fps.inputs.nixpkgs.follows = "nixpkgs";
@ -23,6 +28,7 @@
, nixpkgs-unstable
, fps
, sddm-unstable
, suyu
, ...
}: let
lib = nixpkgs.lib;