[gaming] Add an emulation suboption

This commit is contained in:
2025-08-20 19:26:28 -07:00
parent 9d6abce8cc
commit f0bf2f2d8c
5 changed files with 29 additions and 13 deletions

View File

@@ -6,13 +6,22 @@ let
cfg = config.roles.desktop;
in
{
config = mkIf (cfg.enable && cfg.gaming) {
environment.systemPackages = with pkgs; [
steam
lutris
moonlight
];
config = mkMerge [
(mkIf (cfg.enable && cfg.gaming.enable) {
environment.systemPackages = with pkgs; [
steam
lutris
moonlight
];
# Possibly other gaming specific services or settings
};
# Possibly other gaming specific services or settings
})
(mkIf (cfg.enable && cfg.gaming.emulation) {
environment.systemPackages = with pkgs; [
ryujinx
dolphin-emu
];
})
];
}