osu settings
This commit is contained in:
parent
c356fd05cd
commit
c192c48bad
|
|
@ -2,6 +2,7 @@
|
||||||
imports = [
|
imports = [
|
||||||
../../system
|
../../system
|
||||||
./hardware-configuration.nix
|
./hardware-configuration.nix
|
||||||
|
./osu.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
networking.hostName = "hyuganatsu";
|
networking.hostName = "hyuganatsu";
|
||||||
|
|
@ -19,10 +20,5 @@
|
||||||
isNormalUser = true;
|
isNormalUser = true;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
services.udev.packages = [pkgs.opentabletdriver];
|
|
||||||
services.xserver.wacom.enable = true;
|
services.xserver.wacom.enable = true;
|
||||||
nix.settings = {
|
|
||||||
substituters = ["https://nix-gaming.cachix.org"];
|
|
||||||
trusted-public-keys = ["nix-gaming.cachix.org-1:nbjlureqMbRAxR1gJ/f3hxemL9svXaZF/Ees8vCUUs4="];
|
|
||||||
};
|
|
||||||
}
|
}
|
||||||
|
|
|
||||||
34
hosts/hyuganatsu/osu.nix
Normal file
34
hosts/hyuganatsu/osu.nix
Normal file
|
|
@ -0,0 +1,34 @@
|
||||||
|
{pkgs, ...}: {
|
||||||
|
services.udev.packages = [pkgs.opentabletdriver];
|
||||||
|
nix.settings = {
|
||||||
|
substituters = ["https://nix-gaming.cachix.org"];
|
||||||
|
trusted-public-keys = ["nix-gaming.cachix.org-1:nbjlureqMbRAxR1gJ/f3hxemL9svXaZF/Ees8vCUUs4="];
|
||||||
|
};
|
||||||
|
programs.gamemode.enable = true;
|
||||||
|
services.pipewire.extraConfig.pipewire."92-low-latency" = {
|
||||||
|
"context.properties" = {
|
||||||
|
"default.clock.rate" = 48000;
|
||||||
|
"default.clock.quantum" = 64;
|
||||||
|
"default.clock.min-quantum" = 64;
|
||||||
|
"default.clock.max-quantum" = 64;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
services.pipewire.extraConfig.pipewire-pulse."92-low-latency" = {
|
||||||
|
context.modules = [
|
||||||
|
{
|
||||||
|
name = "libpipewire-module-protocol-pulse";
|
||||||
|
args = {
|
||||||
|
pulse.min.req = "32/48000";
|
||||||
|
pulse.default.req = "32/48000";
|
||||||
|
pulse.max.req = "32/48000";
|
||||||
|
pulse.min.quantum = "32/48000";
|
||||||
|
pulse.max.quantum = "32/48000";
|
||||||
|
};
|
||||||
|
}
|
||||||
|
];
|
||||||
|
stream.properties = {
|
||||||
|
node.latency = "32/48000";
|
||||||
|
resample.quality = 1;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
||||||
Loading…
Reference in a new issue