steam: install as native package

This commit is contained in:
Daniel Langbein 2024-12-07 17:29:59 +01:00
parent 711144bef5
commit d89f233247
Signed by: langfingaz
GPG Key ID: 6C47C753F0823002
4 changed files with 27 additions and 6 deletions

View File

@ -36,8 +36,9 @@
../../modules/signal-desktop.nix ../../modules/signal-desktop.nix
../../modules/firefox.nix ../../modules/firefox.nix
../../modules/steam.nix
#../../modules/games.nix #../../modules/games.nix
#../../modules/dosbox-x.nix
../../modules/steam.nix
../../modules/jetbrains-ide.nix ../../modules/jetbrains-ide.nix
]; ];

View File

@ -57,9 +57,6 @@
#../../modules/waydroid.nix #../../modules/waydroid.nix
../../modules/uni-vpn.nix ../../modules/uni-vpn.nix
#../../modules/games.nix
#../../modules/dosbox-x.nix
../../modules/autostart.nix ../../modules/autostart.nix
../../modules/jetbrains-ide.nix ../../modules/jetbrains-ide.nix

View File

@ -61,6 +61,7 @@
../../modules/games.nix ../../modules/games.nix
../../modules/dosbox-x.nix ../../modules/dosbox-x.nix
../../modules/steam.nix
../../modules/autostart.nix ../../modules/autostart.nix

View File

@ -1,13 +1,35 @@
{ config, pkgs, ... }: { config, pkgs, ... }:
{ {
# Alternative: Install Steam as Flatpak
#
# https://wiki.archlinux.org/title/steam#See_also # https://wiki.archlinux.org/title/steam#See_also
# flatpak install com.valvesoftware.Steam # flatpak install com.valvesoftware.Steam
#
# Launching Steam with Flatpak might warn you about installing the steam-devices package to add support for some gamepads. # Launching Steam with Flatpak might warn you about installing the steam-devices package to add support for some gamepads.
# https://wiki.archlinux.org/title/steam#Flatpak # https://wiki.archlinux.org/title/steam#Flatpak
# https://github.com/ValveSoftware/steam-devices # https://github.com/ValveSoftware/steam-devices
# These udev rules should be enabled by the following setting. # These udev rules should be enabled by the following setting.
# https://www.reddit.com/r/NixOS/comments/10px9ty/comment/j6moarv/ # https://www.reddit.com/r/NixOS/comments/10px9ty/comment/j6moarv/
#hardware.steam-hardware.enable = true; #hardware.steam-hardware.enable = true;
# https://nixos.wiki/wiki/Steam#Install
programs.steam = {
enable = true;
# Open ports in the firewall for Steam Remote Play
#remotePlay.openFirewall = true;
# Open ports in the firewall for Source Dedicated Server
# https://developer.valvesoftware.com/wiki/Source_Dedicated_Server
# Tool that runs the server component of a Source game (CS:GO, etc) without the client component
#dedicatedServer.openFirewall = true;
localNetworkGameTransfers.openFirewall = true; # Open ports in the firewall for Steam Local Network Game Transfers
};
allowUnfree = [
"steam"
"steam-original"
"steam-unwrapped"
"steam-run"
];
} }