From 5753e2393a5c32bbfa6ff23bbb8885070e3e6c30 Mon Sep 17 00:00:00 2001 From: Vincent Ambo Date: Wed, 14 Jun 2023 12:10:44 +0300 Subject: fix(tazjin/nixos): fix 32-bit support for games Change-Id: I04cb7c448228771536f9f87155183bdaa8faf4e8 Reviewed-on: https://cl.tvl.fyi/c/depot/+/8768 Tested-by: BuildkiteCI Reviewed-by: tazjin --- users/tazjin/nixos/modules/desktop.nix | 1 + users/tazjin/nixos/tverskoy/default.nix | 4 ++++ 2 files changed, 5 insertions(+) (limited to 'users/tazjin/nixos') diff --git a/users/tazjin/nixos/modules/desktop.nix b/users/tazjin/nixos/modules/desktop.nix index c78463386c46..aa4a7fd7bc71 100644 --- a/users/tazjin/nixos/modules/desktop.nix +++ b/users/tazjin/nixos/modules/desktop.nix @@ -6,6 +6,7 @@ pipewire = { enable = true; alsa.enable = true; + alsa.support32Bit = true; pulse.enable = true; }; diff --git a/users/tazjin/nixos/tverskoy/default.nix b/users/tazjin/nixos/tverskoy/default.nix index 513f65966fce..53b189565005 100644 --- a/users/tazjin/nixos/tverskoy/default.nix +++ b/users/tazjin/nixos/tverskoy/default.nix @@ -97,6 +97,8 @@ lib.fix (self: { opengl = { enable = true; + driSupport32Bit = true; + extraPackages = with pkgs; [ vaapiVdpau libvdpau-va-gl @@ -166,5 +168,7 @@ lib.fix (self: { # as I do anything stressful to the machine systemd.services.systemd-oomd.enable = lib.mkForce false; + environment.systemPackages = [ pkgs.vulkan-tools ]; + system.stateVersion = "20.09"; }) -- cgit 1.4.1