mirror of
https://github.com/foo-dogsquared/nixos-config.git
synced 2025-02-24 18:19:01 +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.
|
# This is somewhat used for streaming games from it.
|
||||||
programs.steam.remotePlay.openFirewall = true;
|
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
|
in
|
||||||
{
|
{
|
||||||
options.profiles.gaming = {
|
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";
|
emulators.enable = lib.mkEnableOption "installation of individual game emulators";
|
||||||
retro-computing.enable = lib.mkEnableOption "installation of retro computer systems";
|
retro-computing.enable = lib.mkEnableOption "installation of retro computer systems";
|
||||||
games.enable = lib.mkEnableOption "installation of certain FOSS games for funsies";
|
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
|
# Enabling all hardware settings for the desktop (unless the user
|
||||||
# explicitly disabled it).
|
# explicitly disabled it).
|
||||||
profiles.desktop.hardware.enable = lib.mkDefault true;
|
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 {
|
(lib.mkIf cfg.emulators.enable {
|
||||||
|
Loading…
Reference in New Issue
Block a user