mirror of
https://github.com/foo-dogsquared/nixos-config.git
synced 2025-02-24 12:19:00 +00:00
profiles/gaming: simplify the default setup
This commit is contained in:
parent
eb9fa473dd
commit
9e170dd6ec
@ -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;
|
||||
};
|
||||
}
|
||||
|
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user