removed ags

This commit is contained in:
Charlie Root 2024-08-09 16:09:22 +02:00
commit fbf6edb219
14 changed files with 24 additions and 350 deletions

View file

@ -5,7 +5,6 @@
...
}:
with lib; let
inherit (config.modules.other.system) username;
cfg = config.modules.programs.steam;
in {
options.modules.programs.steam = {
@ -16,15 +15,13 @@ in {
config = mkIf cfg.enable {
programs.steam = {
enable = true;
remotePlay.openFirewall = true;
dedicatedServer.openFirewall = true;
# remotePlay.openFirewall = true;
# dedicatedServer.openFirewall = true;
gamescopeSession.enable = mkIf cfg.gamescope true;
extraCompatPackages = with pkgs; [proton-ge-bin];
};
# See
# https://wiki.nixos.org/wiki/GameMode
programs.gamemode.enable = true;
# environment.systemPackages = [pkgs.protonup-ng];
environment.sessionVariables = {
STEAM_EXTRA_COMPAT_TOOLS_PATHS = "/home/${username}/.steam/root/compatibilitytoolds.d";
};
};
}