aboutsummaryrefslogtreecommitdiff
path: root/share/system/steam.nix
diff options
context:
space:
mode:
Diffstat (limited to 'share/system/steam.nix')
-rw-r--r--share/system/steam.nix12
1 files changed, 6 insertions, 6 deletions
diff --git a/share/system/steam.nix b/share/system/steam.nix
index 7137bfa..4217d9d 100644
--- a/share/system/steam.nix
+++ b/share/system/steam.nix
@@ -1,23 +1,23 @@
-{ lib, ... }: {
+{ lib, ... }:
+{
programs.steam.enable = true;
nixpkgs.config = {
- allowUnfreePredicate = pkg:
+ allowUnfreePredicate =
+ pkg:
builtins.elem (lib.getName pkg) [
"steam"
"steam-original"
"steam-runtime"
];
packageOverrides = pkgs: {
- steam =
- pkgs.steam.override { extraPkgs = pkgs: with pkgs; [ libgdiplus ]; };
+ steam = pkgs.steam.override { extraPkgs = pkgs: with pkgs; [ libgdiplus ]; };
};
};
environment.sessionVariables = rec {
# Steam needs this to find Proton-GE
- STEAM_EXTRA_COMPAT_TOOLS_PATHS =
- "\${HOME}/.steam/root/compatibilitytools.d";
+ STEAM_EXTRA_COMPAT_TOOLS_PATHS = "\${HOME}/.steam/root/compatibilitytools.d";
# note: this doesn't replace PATH, it just adds this to it
PATH = [ "\${XDG_BIN_HOME}" ];
};