From c6f78d4bd368398604dc9d3a3888caefda04c7ad Mon Sep 17 00:00:00 2001 From: Richie Cahill Date: Sun, 9 Jun 2024 12:23:53 -0400 Subject: [PATCH] added steam.nix to bob --- systems/bob/configuration.nix | 3 ++- systems/bob/steam.nix | 16 ++++++++++++++++ 2 files changed, 18 insertions(+), 1 deletion(-) create mode 100644 systems/bob/steam.nix diff --git a/systems/bob/configuration.nix b/systems/bob/configuration.nix index 33950f6..2fab140 100644 --- a/systems/bob/configuration.nix +++ b/systems/bob/configuration.nix @@ -1,9 +1,10 @@ { imports = [ - ./hardware.nix ../../users/richie/global/syncthing_base.nix ../../users/richie/global/zerotier.nix + ./hardware.nix ./nvidia.nix + ./steam.nix ]; boot = { diff --git a/systems/bob/steam.nix b/systems/bob/steam.nix new file mode 100644 index 0000000..03d89af --- /dev/null +++ b/systems/bob/steam.nix @@ -0,0 +1,16 @@ +{ pkgs, ... }: + +{ + environment.systemPackages = [ pkgs.steam-run ]; + hardware.steam-hardware.enable = true; + programs = { + steam = { + enable = true; + remotePlay.openFirewall = true; + localNetworkGameTransfers.openFirewall = true; + extraCompatPackages = with pkgs; [ proton-ge-bin ]; + gamescopeSession.enable = true; + extest.enable = true; + }; + }; +}