nixcfg/systems/x86_64-linux/halo/sound.nix
Harald Hoyer 52e1276115 feat(nix): add HALO system configuration and user setup
- Added system configuration for the HALO machine, including hardware, sound, and remapping settings.
- Configured user-specific settings like session paths, favorite apps, and terminal customization.
- Introduced zram swap, SSD TRIM, and PipeWire priority tuning for performance optimization.
2026-02-11 14:24:08 +01:00

40 lines
976 B
Nix

{ ... }:
{
services.pipewire.wireplumber.extraConfig."51-audio-priorities" = {
"monitor.alsa.rules" = [
{
matches = [
{ "node.name" = "alsa_output.pci-0000_73_00.1.hdmi-stereo"; }
];
actions = {
update-props = {
"priority.session" = 2000;
"priority.driver" = 2000;
};
};
}
{
matches = [
{ "node.name" = "alsa_output.usb-R__DE_Microphones_R__DE_NT-USB_Mini_6893EA23-00.analog-stereo"; }
];
actions = {
update-props = {
"priority.session" = 1500;
"priority.driver" = 1500;
};
};
}
{
matches = [
{ "node.name" = "alsa_output.usb-Generic_USB_Audio-00.HiFi__SPDIF__sink"; }
];
actions = {
update-props = {
"priority.session" = 1000;
"priority.driver" = 1000;
};
};
}
];
};
}