about summary refs log tree commit diff
path: root/users
diff options
context:
space:
mode:
authorVincent Ambo <mail@tazj.in>2023-06-14T09·10+0300
committertazjin <tazjin@tvl.su>2023-06-14T10·06+0000
commit5753e2393a5c32bbfa6ff23bbb8885070e3e6c30 (patch)
tree33ca780790777944c195eeca4ed8adc02df0a0ed /users
parentd5748475d812ec0c229291f03a02e1b296c3ee3a (diff)
fix(tazjin/nixos): fix 32-bit support for games r/6293
Change-Id: I04cb7c448228771536f9f87155183bdaa8faf4e8
Reviewed-on: https://cl.tvl.fyi/c/depot/+/8768
Tested-by: BuildkiteCI
Reviewed-by: tazjin <tazjin@tvl.su>
Diffstat (limited to 'users')
-rw-r--r--users/tazjin/nixos/modules/desktop.nix1
-rw-r--r--users/tazjin/nixos/tverskoy/default.nix4
2 files changed, 5 insertions, 0 deletions
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";
 })