steam: improvedm odule defaults + support for gamescope session

This commit is contained in:
Aly Raffauf 2024-06-15 23:19:33 -04:00
parent a2aa7ee00a
commit 398e54d075
2 changed files with 8 additions and 6 deletions

View file

@ -7,14 +7,14 @@
config = lib.mkIf config.alyraffauf.apps.steam.enable {
hardware.steam-hardware.enable = true;
programs = {
gamescope.enable = true;
gamescope.enable = config.alyraffauf.desktop.steam.enable;
steam = {
enable = true;
gamescopeSession.enable = true;
remotePlay.openFirewall =
true; # Open ports in the firewall for Steam Remote Play
dedicatedServer.openFirewall =
true; # Open ports in the firewall for Source Dedicated Server
dedicatedServer.openFirewall = true;
gamescopeSession.enable = config.alyraffauf.desktop.steam.enable;
localNetworkGameTransfers.openFirewall = true;
remotePlay.openFirewall = true;
};
};
};

View file

@ -180,6 +180,8 @@
"Lightdm and slick greeter with Catppuccin theme.";
plasma.enable =
lib.mkEnableOption "Plasma desktop session.";
steam.enable =
lib.mkEnableOption "Steam + Gamescope session.";
sway.enable =
lib.mkEnableOption "Sway wayland session.";
waylandComp = lib.mkOption {