aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNatasha Moongrave <natasha@256phi.eu>2026-05-22 17:46:07 +0200
committerNatasha Moongrave <natasha@256phi.eu>2026-05-22 17:46:07 +0200
commita4bc437a427b6c5d8ef2a3ec319cedb155d14133 (patch)
tree5178a9c53f25738ab9092e21a1eac9464bd6c8b2
parentb5f5177f45652a3307c91cf8d83822f8546ce721 (diff)
Fixed steam
-rw-r--r--hosts/herra/drivers.nix2
-rw-r--r--hosts/herra/steam.nix18
2 files changed, 15 insertions, 5 deletions
diff --git a/hosts/herra/drivers.nix b/hosts/herra/drivers.nix
index e886948..f169970 100644
--- a/hosts/herra/drivers.nix
+++ b/hosts/herra/drivers.nix
@@ -37,4 +37,6 @@
'';
virtualisation.docker.storageDriver = "btrfs";
+
+ programs.gamemode.enable = true;
}
diff --git a/hosts/herra/steam.nix b/hosts/herra/steam.nix
index e3d5142..9bbe499 100644
--- a/hosts/herra/steam.nix
+++ b/hosts/herra/steam.nix
@@ -1,17 +1,24 @@
-{lib, pkgs, ...}: {
+{
+ lib,
+ pkgs,
+ ...
+}: {
programs.steam = {
enable = true;
package = pkgs.steam.override {
extraEnv = {
LD_PRELOAD = "${pkgs.gamemode.lib}/lib/libgamemodeauto.so";
};
- extraLibraries = pkgs: with pkgs; [
- gamemode
- ];
+ extraLibraries = pkgs:
+ with pkgs; [
+ gamemode
+ ];
};
remotePlay.openFirewall = true;
dedicatedServer.openFirewall = true;
localNetworkGameTransfers.openFirewall = true;
+ gamescopeSession.enable = false;
+ extraCompatPackages = [pkgs.proton-ge-bin];
};
nixpkgs.config.allowUnfreePredicate = pkg:
@@ -24,4 +31,5 @@
programs.appimage.enable = true;
programs.appimage.binfmt = true;
-} \ No newline at end of file
+}
+