more audio prio
This commit is contained in:
@@ -13,6 +13,10 @@ let
|
|||||||
installDisk = "/dev/disk/by-id/ata-SanDisk_SD8SB8U-256G-1006_173702422853";
|
installDisk = "/dev/disk/by-id/ata-SanDisk_SD8SB8U-256G-1006_173702422853";
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
|
environment.sessionVariables = {
|
||||||
|
NIXOS_OZONE_WL = "1";
|
||||||
|
};
|
||||||
|
|
||||||
_module.args = {
|
_module.args = {
|
||||||
inherit
|
inherit
|
||||||
fullName
|
fullName
|
||||||
@@ -51,14 +55,13 @@ in
|
|||||||
configurationLimit = 10;
|
configurationLimit = 10;
|
||||||
edk2-uefi-shell.enable = true;
|
edk2-uefi-shell.enable = true;
|
||||||
};
|
};
|
||||||
|
boot.kernelPackages = pkgs.linuxPackages_zen;
|
||||||
boot.loader.efi.canTouchEfiVariables = true;
|
boot.loader.efi.canTouchEfiVariables = true;
|
||||||
boot.loader.grub.enable = lib.mkForce false;
|
boot.loader.grub.enable = lib.mkForce false;
|
||||||
|
|
||||||
networking.hostName = hostName;
|
networking.hostName = hostName;
|
||||||
networking.hostId = "ff0b8826";
|
networking.hostId = "ff0b8826";
|
||||||
|
|
||||||
environment.sessionVariables.NIXOS_OZONE_WL = "1";
|
|
||||||
|
|
||||||
services.xserver.videoDrivers = [ "nvidia" ];
|
services.xserver.videoDrivers = [ "nvidia" ];
|
||||||
hardware = {
|
hardware = {
|
||||||
graphics = {
|
graphics = {
|
||||||
|
|||||||
@@ -41,6 +41,15 @@
|
|||||||
alsa.support32Bit = true;
|
alsa.support32Bit = true;
|
||||||
pulse.enable = true;
|
pulse.enable = true;
|
||||||
wireplumber.enable = true;
|
wireplumber.enable = true;
|
||||||
|
extraConfig.pipewire."10-buffer-stability" = {
|
||||||
|
context.properties = {
|
||||||
|
# Favor playback stability over minimum latency when the system is busy.
|
||||||
|
default.clock.rate = 48000;
|
||||||
|
default.clock.quantum = 1024;
|
||||||
|
default.clock.min-quantum = 1024;
|
||||||
|
default.clock.max-quantum = 2048;
|
||||||
|
};
|
||||||
|
};
|
||||||
};
|
};
|
||||||
services.tumbler.enable = true;
|
services.tumbler.enable = true;
|
||||||
services.udisks2.enable = true;
|
services.udisks2.enable = true;
|
||||||
@@ -88,4 +97,16 @@
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
systemd.user.services.pipewire.serviceConfig = {
|
||||||
|
Nice = -15;
|
||||||
|
CPUWeight = 90;
|
||||||
|
IOWeight = 90;
|
||||||
|
};
|
||||||
|
|
||||||
|
systemd.user.services.wireplumber.serviceConfig = {
|
||||||
|
Nice = -10;
|
||||||
|
CPUWeight = 80;
|
||||||
|
IOWeight = 80;
|
||||||
|
};
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user