diff options
author | makefu <github@syntax-fehler.de> | 2017-09-09 20:58:36 +0200 |
---|---|---|
committer | makefu <github@syntax-fehler.de> | 2017-09-09 20:58:36 +0200 |
commit | 656fd8352b884b65106137387bf892c9ecfba86c (patch) | |
tree | de08cfe27787c5dcf95a9299c79b9888b71b5dd4 | |
parent | c1a4899ad3c5428d6084bef2cf1af6b9d0585066 (diff) |
ma steam: fix startup
reference: https://github.com/NixOS/nixpkgs/issues/25957
-rw-r--r-- | 2configs/tools/games.nix | 6 | ||||
-rw-r--r-- | 2configs/tools/steam.nix (renamed from 2configs/steam.nix) | 6 |
2 files changed, 9 insertions, 3 deletions
diff --git a/2configs/tools/games.nix b/2configs/tools/games.nix index 47f06287b..0257e1870 100644 --- a/2configs/tools/games.nix +++ b/2configs/tools/games.nix @@ -1,8 +1,10 @@ { pkgs, ... }: { - krebs.per-user.makefu.packages = with pkgs; [ - steam + imports = [ + ../steam.nix + ]; + users.users.makefu.packages = with pkgs; [ games-user-env ]; } diff --git a/2configs/steam.nix b/2configs/tools/steam.nix index d4ec84abf..dbe51270d 100644 --- a/2configs/steam.nix +++ b/2configs/tools/steam.nix @@ -1,6 +1,10 @@ {pkgs, ...}: { - environment.systemPackages = [ pkgs.steam ]; + environment.systemPackages = [ + (pkgs.steam.override { + newStdcpp = true; + }) + ]; hardware.opengl.driSupport32Bit = true; hardware.pulseaudio.support32Bit = true; } |