summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormakefu <github@syntax-fehler.de>2017-09-09 20:58:36 +0200
committermakefu <github@syntax-fehler.de>2017-09-09 20:58:36 +0200
commit656fd8352b884b65106137387bf892c9ecfba86c (patch)
treede08cfe27787c5dcf95a9299c79b9888b71b5dd4
parentc1a4899ad3c5428d6084bef2cf1af6b9d0585066 (diff)
ma steam: fix startup
reference: https://github.com/NixOS/nixpkgs/issues/25957
-rw-r--r--2configs/tools/games.nix6
-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;
}
[cgit] Unable to lock slot /tmp/cgit/09000000.lock: No such file or directory (2)