From c97a1d66084aaf50ca816d9c482f296d31346f9f Mon Sep 17 00:00:00 2001 From: Miran Bastaja Date: Sat, 6 Jul 2024 06:48:40 +0200 Subject: formatting --- share/system/steam.nix | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'share/system/steam.nix') 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}" ]; }; -- cgit v1.3.1