summary refs log tree commit diff stats
path: root/user
diff options
context:
space:
mode:
authorAlan Pearce2020-06-08 13:04:11 +0200
committerAlan Pearce2020-06-08 13:04:11 +0200
commitbede70d9c5780bbcc2e0a41cf38d9f7d085ec80d (patch)
treee6f358bf02c301e078fdd2b7b1a92a1d1b24ced2 /user
parentdec457d92682d4c969b9e63de9ce795096c68bda (diff)
downloadnixfiles-bede70d9c5780bbcc2e0a41cf38d9f7d085ec80d.tar.lz
nixfiles-bede70d9c5780bbcc2e0a41cf38d9f7d085ec80d.tar.zst
nixfiles-bede70d9c5780bbcc2e0a41cf38d9f7d085ec80d.zip
Update gaming setup
Diffstat (limited to 'user')
-rw-r--r--user/settings/gaming.nix47
-rw-r--r--user/settings/i3.nix11
2 files changed, 19 insertions, 39 deletions
diff --git a/user/settings/gaming.nix b/user/settings/gaming.nix
index 78b35406..d6dbe42f 100644
--- a/user/settings/gaming.nix
+++ b/user/settings/gaming.nix
@@ -1,45 +1,14 @@
 { config, pkgs, ... }:
 
+let
+  unstablePkgs = import <nixos-unstable> {};
+in
 {
-  home.packages = with pkgs; [
+  home.packages = with unstablePkgs; [
     steam
-    (
-      winePackages.override {
-        pngSupport = true;
-        jpegSupport = true;
-        tiffSupport = true;
-        gettextSupport = true;
-        fontconfigSupport = true;
-        alsaSupport = true;
-        gtkSupport = true;
-        openglSupport = true;
-        tlsSupport = true;
-        gstreamerSupport = true;
-        cupsSupport = true;
-        colorManagementSupport = true;
-        dbusSupport = true;
-        mpg123Support = true;
-        openalSupport = true;
-        openclSupport = true;
-        cairoSupport = true;
-        odbcSupport = true;
-        netapiSupport = true;
-        cursesSupport = true;
-        vaSupport = true;
-        pcapSupport = true;
-        v4lSupport = true;
-        saneSupport = true;
-        gsmSupport = true;
-        gphoto2Support = true;
-        ldapSupport = true;
-        pulseaudioSupport = true;
-        udevSupport = true;
-        xineramaSupport = true;
-        xmlSupport = true;
-        vulkanSupport = true;
-        sdlSupport = true;
-      }
-    )
-    lutris
+    wineWowPackages.stable
+    # winetricks
+
+    pkgs.lutris
   ];
 }
diff --git a/user/settings/i3.nix b/user/settings/i3.nix
index bd889395..646ce7ec 100644
--- a/user/settings/i3.nix
+++ b/user/settings/i3.nix
@@ -17,6 +17,17 @@
       floating = {
         criteria = [
           { class = "Pinentry$"; }
+          # https://github.com/ValveSoftware/steam-for-linux/issues/1040
+          { class = "^Steam$"; title = "^Friends$"; }
+          { class = "^Steam$"; title = "Steam - News"; }
+          { class = "^Steam$"; title = ".* - Chat"; }
+          { class = "^Steam$"; title = "^Settings$"; }
+          { class = "^Steam$"; title = ".* - event started"; }
+          { class = "^Steam$"; title = ".* CD key"; }
+          { class = "^Steam$"; title = "^Steam - Self Updater$"; }
+          { class = "^Steam$"; title = "^Screenshot Uploader$"; }
+          { class = "^Steam$"; title = "^Steam Guard - Computer Authorization Required$"; }
+          { title = "^Steam Keyboard$"; }
         ];
       };
       window = {