nixos-config/users/simon/modules/games.nix

16 lines
472 B
Nix
Raw Normal View History

{ lib, nixosConfig, pkgs, ... }:
let
cfg = nixosConfig.sbruder.games;
inherit (nixosConfig.sbruder) unfree;
in
lib.mkIf cfg.enable {
home.packages = with pkgs; [ ]
2021-08-07 00:30:49 +02:00
++ lib.optionals (cfg.performanceIndex >= 2) [
mgba
] ++ lib.optionals (cfg.performanceIndex >= 4) [
desmume
dolphinEmuMaster
] ++ lib.optional (unfree.allowAssets && cfg.performanceIndex >= 8) unstable.yuzu-ea
++ lib.optional unfree.allowSoftware unstable.osu-lazer-sandbox;
2021-01-07 18:29:18 +01:00
}