Move steam to NixOS module

This commit is contained in:
Filippo Berto 2024-03-12 17:45:27 +01:00
parent 2fb324dd97
commit 53fcb19a02
Signed by: bertof
GPG key ID: 9DBF7E6A1D2CE9ED
3 changed files with 19 additions and 11 deletions

17
modules/nixos/steam.nix Normal file
View file

@ -0,0 +1,17 @@
{
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
};
networking.firewall = {
allowedTCPPorts = [ 27036 27037 ];
allowedUDPPorts = [ 27031 27036 ];
};
}