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.
This commit is contained in:
parent
536ad5a47a
commit
52e1276115
6 changed files with 326 additions and 0 deletions
40
systems/x86_64-linux/halo/sound.nix
Normal file
40
systems/x86_64-linux/halo/sound.nix
Normal file
|
|
@ -0,0 +1,40 @@
|
|||
{ ... }:
|
||||
{
|
||||
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;
|
||||
};
|
||||
};
|
||||
}
|
||||
];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue