summaryrefslogtreecommitdiffstats
path: root/2configs/tools
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 /2configs/tools
parentc1a4899ad3c5428d6084bef2cf1af6b9d0585066 (diff)
ma steam: fix startup
reference: https://github.com/NixOS/nixpkgs/issues/25957
Diffstat (limited to '2configs/tools')
-rw-r--r--2configs/tools/games.nix6
-rw-r--r--2configs/tools/steam.nix10
2 files changed, 14 insertions, 2 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/tools/steam.nix b/2configs/tools/steam.nix
new file mode 100644
index 000000000..dbe51270d
--- /dev/null
+++ b/2configs/tools/steam.nix
@@ -0,0 +1,10 @@
+{pkgs, ...}:
+{
+ environment.systemPackages = [
+ (pkgs.steam.override {
+ newStdcpp = true;
+ })
+ ];
+ hardware.opengl.driSupport32Bit = true;
+ hardware.pulseaudio.support32Bit = true;
+}
[cgit] Unable to lock slot /tmp/cgit/9e100000.lock: No such file or directory (2)