From bede70d9c5780bbcc2e0a41cf38d9f7d085ec80d Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Mon, 8 Jun 2020 13:04:11 +0200 Subject: Update gaming setup --- user/settings/gaming.nix | 47 ++++++++--------------------------------------- user/settings/i3.nix | 11 +++++++++++ 2 files changed, 19 insertions(+), 39 deletions(-) (limited to 'user/settings') 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 {}; +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 = { -- cgit 1.4.1