Global: add opentabletdriver config

This commit is contained in:
blahai 2024-12-05 16:22:55 +02:00
parent e97df2e113
commit f4ef1bd5c9
Signed by: blahai
SSH key fingerprint: SHA256:ZfCryi+V64yG+vC1ZIIsqgvBCmA31tTi7RJ6M8CvpRc

View file

@ -1,12 +1,8 @@
{ config, pkgs, inputs, ... }: { { config, pkgs, inputs, ... }: {
nixpkgs = { nixpkgs = {
overlays = [ overlays = [ inputs.nur.overlay ];
inputs.nur.overlay config = { allowUnfree = true; };
];
config = {
allowUnfree = true;
};
}; };
environment.systemPackages = with pkgs; [ environment.systemPackages = with pkgs; [
@ -20,8 +16,10 @@
programs = { programs = {
steam = { steam = {
enable = true; enable = true;
remotePlay.openFirewall = true; # Open ports in the firewall for Steam Remote Play remotePlay.openFirewall =
dedicatedServer.openFirewall = true; # Open ports in the firewall for Source Dedicated Server 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; gamemode.enable = true;
alvr = { alvr = {
@ -32,7 +30,7 @@
obs-studio = { obs-studio = {
enable = true; enable = true;
plugins = with pkgs.obs-studio-plugins; [ plugins = with pkgs.obs-studio-plugins; [
obs-pipewire-audio-capture obs-pipewire-audio-capture
obs-vaapi obs-vaapi
]; ];
@ -41,11 +39,17 @@
hardware = { hardware = {
amdgpu.opencl.enable = true; # For davinci-resolve amdgpu.opencl.enable = true; # For davinci-resolve
# opentabletdriver.enable = true; opentabletdriver = {
enable = true; # For osu!
daemon.enable = true;
blacklistedKernelModules = [
"wacom"
];
};
graphics = { graphics = {
enable = true; enable = true;
enable32Bit = true; enable32Bit = true;
extraPackages = with pkgs; [ extraPackages = with pkgs; [
mesa.drivers mesa.drivers
egl-wayland egl-wayland
rocmPackages.clr.icd rocmPackages.clr.icd