From 2762c323e9e026867421959392d2a64fb2150be8 Mon Sep 17 00:00:00 2001 From: Zuckerberg Date: Sat, 14 Mar 2026 18:30:00 -0700 Subject: [PATCH] Improve gamescope session --- common/pc/steam.nix | 9 +++++++++ common/server/gitea-actions-runner.nix | 2 -- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/common/pc/steam.nix b/common/pc/steam.nix index 04d9dec..bdd16ba 100644 --- a/common/pc/steam.nix +++ b/common/pc/steam.nix @@ -19,6 +19,15 @@ in "--hdr-itm-enabled" "--adaptive-sync" ]; + steamArgs = [ + "-steamos3" + "-gamepadui" + "-pipewire-dmabuf" + ]; + env = { + STEAM_ENABLE_VOLUME_HANDLER = "1"; + STEAM_DISABLE_AUDIO_DEVICE_SWITCHING = "1"; + }; }; environment.systemPackages = [ pkgs.gamescope-wsi ]; diff --git a/common/server/gitea-actions-runner.nix b/common/server/gitea-actions-runner.nix index af17223..2048731 100644 --- a/common/server/gitea-actions-runner.nix +++ b/common/server/gitea-actions-runner.nix @@ -8,7 +8,6 @@ let thisMachineIsARunner = config.thisMachine.hasRole."gitea-actions-runner"; - hostOverlays = config.nixpkgs.overlays; hostName = config.networking.hostName; containerName = "gitea-runner"; giteaRunnerUid = 991; @@ -34,7 +33,6 @@ in config = { config, lib, pkgs, ... }: { imports = allModules; - nixpkgs.overlays = hostOverlays; ntfy-alerts.ignoredUnits = [ "logrotate" ]; ntfy-alerts.hostLabel = "${hostName}/${containerName}";