diff options
author | Alan Pearce | 2020-06-08 13:04:11 +0200 |
---|---|---|
committer | Alan Pearce | 2020-06-08 13:04:11 +0200 |
commit | bede70d9c5780bbcc2e0a41cf38d9f7d085ec80d (patch) | |
tree | e6f358bf02c301e078fdd2b7b1a92a1d1b24ced2 | |
parent | dec457d92682d4c969b9e63de9ce795096c68bda (diff) | |
download | nixfiles-bede70d9c5780bbcc2e0a41cf38d9f7d085ec80d.tar.lz nixfiles-bede70d9c5780bbcc2e0a41cf38d9f7d085ec80d.tar.zst nixfiles-bede70d9c5780bbcc2e0a41cf38d9f7d085ec80d.zip |
Update gaming setup
-rw-r--r-- | user/settings/gaming.nix | 47 | ||||
-rw-r--r-- | user/settings/i3.nix | 11 |
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 = { |