mirror of
https://github.com/alyraffauf/nixcfg.git
synced 2024-11-22 12:23:56 -05:00
steam: improvedm odule defaults + support for gamescope session
This commit is contained in:
parent
a2aa7ee00a
commit
398e54d075
|
@ -7,14 +7,14 @@
|
||||||
config = lib.mkIf config.alyraffauf.apps.steam.enable {
|
config = lib.mkIf config.alyraffauf.apps.steam.enable {
|
||||||
hardware.steam-hardware.enable = true;
|
hardware.steam-hardware.enable = true;
|
||||||
programs = {
|
programs = {
|
||||||
gamescope.enable = true;
|
gamescope.enable = config.alyraffauf.desktop.steam.enable;
|
||||||
|
|
||||||
steam = {
|
steam = {
|
||||||
enable = true;
|
enable = true;
|
||||||
gamescopeSession.enable = true;
|
dedicatedServer.openFirewall = true;
|
||||||
remotePlay.openFirewall =
|
gamescopeSession.enable = config.alyraffauf.desktop.steam.enable;
|
||||||
true; # Open ports in the firewall for Steam Remote Play
|
localNetworkGameTransfers.openFirewall = true;
|
||||||
dedicatedServer.openFirewall =
|
remotePlay.openFirewall = true;
|
||||||
true; # Open ports in the firewall for Source Dedicated Server
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
|
@ -180,6 +180,8 @@
|
||||||
"Lightdm and slick greeter with Catppuccin theme.";
|
"Lightdm and slick greeter with Catppuccin theme.";
|
||||||
plasma.enable =
|
plasma.enable =
|
||||||
lib.mkEnableOption "Plasma desktop session.";
|
lib.mkEnableOption "Plasma desktop session.";
|
||||||
|
steam.enable =
|
||||||
|
lib.mkEnableOption "Steam + Gamescope session.";
|
||||||
sway.enable =
|
sway.enable =
|
||||||
lib.mkEnableOption "Sway wayland session.";
|
lib.mkEnableOption "Sway wayland session.";
|
||||||
waylandComp = lib.mkOption {
|
waylandComp = lib.mkOption {
|
||||||
|
|
Loading…
Reference in a new issue