aboutsummaryrefslogtreecommitdiff
path: root/hosts/herra
diff options
context:
space:
mode:
Diffstat (limited to 'hosts/herra')
-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
+}
+