Move steam to NixOS module
This commit is contained in:
parent
2fb324dd97
commit
53fcb19a02
3 changed files with 19 additions and 11 deletions
|
|
@ -140,6 +140,7 @@
|
|||
|
||||
./modules/nixos/pro_audio.nix
|
||||
./modules/nixos/kdeconnect.nix
|
||||
./modules/nixos/steam.nix
|
||||
|
||||
./modules/nixos/hyprland.nix
|
||||
{
|
||||
|
|
@ -169,6 +170,7 @@
|
|||
|
||||
./modules/nixos/pro_audio.nix
|
||||
./modules/nixos/kdeconnect.nix
|
||||
./modules/nixos/steam.nix
|
||||
|
||||
./modules/nixos/hyprland.nix
|
||||
{
|
||||
|
|
|
|||
|
|
@ -75,17 +75,6 @@
|
|||
enable = true;
|
||||
enableSSHSupport = true;
|
||||
};
|
||||
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;
|
||||
};
|
||||
zsh.enable = true;
|
||||
};
|
||||
|
||||
|
|
|
|||
17
modules/nixos/steam.nix
Normal file
17
modules/nixos/steam.nix
Normal 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 ];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue