From f4ef1bd5c910000c9c235c170f9fe984eb7195f9 Mon Sep 17 00:00:00 2001 From: blahai Date: Thu, 5 Dec 2024 16:22:55 +0200 Subject: [PATCH] Global: add opentabletdriver config --- modules/nixos/games/default.nix | 26 +++++++++++++++----------- 1 file changed, 15 insertions(+), 11 deletions(-) diff --git a/modules/nixos/games/default.nix b/modules/nixos/games/default.nix index 24b1e7f..8a63270 100644 --- a/modules/nixos/games/default.nix +++ b/modules/nixos/games/default.nix @@ -1,12 +1,8 @@ { config, pkgs, inputs, ... }: { nixpkgs = { - overlays = [ - inputs.nur.overlay - ]; - config = { - allowUnfree = true; - }; + overlays = [ inputs.nur.overlay ]; + config = { allowUnfree = true; }; }; environment.systemPackages = with pkgs; [ @@ -20,8 +16,10 @@ programs = { steam = { enable = true; - remotePlay.openFirewall = true; # Open ports in the firewall for Steam Remote Play - dedicatedServer.openFirewall = true; # Open ports in the firewall for Source Dedicated Server + remotePlay.openFirewall = + true; # Open ports in the firewall for Steam Remote Play + dedicatedServer.openFirewall = + true; # Open ports in the firewall for Source Dedicated Server }; gamemode.enable = true; alvr = { @@ -32,7 +30,7 @@ obs-studio = { enable = true; - plugins = with pkgs.obs-studio-plugins; [ + plugins = with pkgs.obs-studio-plugins; [ obs-pipewire-audio-capture obs-vaapi ]; @@ -41,11 +39,17 @@ hardware = { amdgpu.opencl.enable = true; # For davinci-resolve - # opentabletdriver.enable = true; + opentabletdriver = { + enable = true; # For osu! + daemon.enable = true; + blacklistedKernelModules = [ + "wacom" + ]; + }; graphics = { enable = true; enable32Bit = true; - extraPackages = with pkgs; [ + extraPackages = with pkgs; [ mesa.drivers egl-wayland rocmPackages.clr.icd