summaryrefslogtreecommitdiffstats
path: root/makefu/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
commite03866490e69df3040ca3143e55ca3538aa06db1 (patch)
tree8737d1971419523c12786ecea87f5baab9648ea0 /makefu/2configs/tools
parent265bfe7949c7cccd80763d0b642df7b00f102a41 (diff)
ma steam: fix startup
reference: https://github.com/NixOS/nixpkgs/issues/25957
Diffstat (limited to 'makefu/2configs/tools')
-rw-r--r--makefu/2configs/tools/games.nix6
-rw-r--r--makefu/2configs/tools/steam.nix10
2 files changed, 14 insertions, 2 deletions
diff --git a/makefu/2configs/tools/games.nix b/makefu/2configs/tools/games.nix
index 47f06287b..0257e1870 100644
--- a/makefu/2configs/tools/games.nix
+++ b/makefu/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/makefu/2configs/tools/steam.nix b/makefu/2configs/tools/steam.nix
new file mode 100644
index 000000000..dbe51270d
--- /dev/null
+++ b/makefu/2configs/tools/steam.nix
@@ -0,0 +1,10 @@
+{pkgs, ...}:
+{
+ environment.systemPackages = [
+ (pkgs.steam.override {
+ newStdcpp = true;
+ })
+ ];
+ hardware.opengl.driSupport32Bit = true;
+ hardware.pulseaudio.support32Bit = true;
+}