Centralized steam configuration

This commit is contained in:
Filippo Berto 2025-01-08 23:38:48 +01:00
parent daa50575b5
commit c4225efceb
Signed by: bertof
GPG key ID: 9DBF7E6A1D2CE9ED
6 changed files with 46 additions and 58 deletions

View file

@ -1,24 +1,44 @@
{
{ pkgs, ... }: {
programs.steam = {
enable = true;
# package = pkgs.steam.override {
# # extraPkgs = pkgs: with pkgs; [ icu ];
# # extraLibraries = pkgs: with pkgs; [ dconf.lib gnome.gvfs icu libdrm ];
# # extraProfile = ''
# # export GSETTINGS_SCHEMA_DIR="${pkgs.gsettings-desktop-schemas}/share/gsettings-schemas/${pkgs.gsettings-desktop-schemas.name}/glib-2.0/schemas/"
# # '';
# };
remotePlay.openFirewall = true; # incorrect values
package = pkgs.steam.override {
# extraLibraries = pkgs: with pkgs; [
# dconf.lib
# gnome.gvfs
# # icu
# # libdrm
# ];
# extraPkgs = pkgs: with pkgs; [
# # icu
# ];
# extraProfile = ''
# export GSETTINGS_SCHEMA_DIR="${pkgs.gsettings-desktop-schemas}/share/gsettings-schemas/${pkgs.gsettings-desktop-schemas.name}/glib-2.0/schemas/"
# '';
};
extraPackages = [
pkgs.gamescope
];
extraCompatPackages = [
pkgs.proton-ge-bin
];
remotePlay.openFirewall = true;
extest.enable = true;
};
networking.firewall = {
allowedTCPPorts = [
27036
27037
];
allowedUDPPorts = [
27031
27036
];
};
fonts.packages = [
pkgs.liberation_ttf
pkgs.wqy_zenhei
];
# networking.firewall = {
# allowedTCPPorts = [
# 27036
# 27037
# ];
# allowedUDPPorts = [
# 27031
# 27036
# ];
# };
}