profiles/gaming: simplify the default setup

This commit is contained in:
Gabriel Arazas 2023-12-22 08:57:41 +08:00
parent eb9fa473dd
commit 9e170dd6ec
No known key found for this signature in database
GPG Key ID: ADE0C41DAB221FCC
2 changed files with 7 additions and 7 deletions
hosts/ni/modules/setups
modules/nixos/profiles

View File

@ -26,5 +26,11 @@ in
# This is somewhat used for streaming games from it.
programs.steam.remotePlay.openFirewall = true;
# Enable the Wine setup for Linux gaming with Windows games.
profiles.desktop.wine.enable = true;
# Yes... Play your Brawl Stars and Clash Royale in NixOS. :)
virtualisation.waydroid.enable = true;
};
}

View File

@ -6,7 +6,7 @@ let
in
{
options.profiles.gaming = {
enable = lib.mkEnableOption "foodogsquared's gaming setup";
enable = lib.mkEnableOption "basic gaming setup";
emulators.enable = lib.mkEnableOption "installation of individual game emulators";
retro-computing.enable = lib.mkEnableOption "installation of retro computer systems";
games.enable = lib.mkEnableOption "installation of certain FOSS games for funsies";
@ -39,12 +39,6 @@ in
# Enabling all hardware settings for the desktop (unless the user
# explicitly disabled it).
profiles.desktop.hardware.enable = lib.mkDefault true;
# Enable the Wine setup for Linux gaming with Windows games.
profiles.desktop.wine.enable = lib.mkDefault true;
# Yes... Play your Brawl Stars and Clash Royale in NixOS. :)
virtualisation.waydroid.enable = lib.mkDefault true;
}
(lib.mkIf cfg.emulators.enable {