meta: reorganize nix-os and hosts to single directory nixos
This commit is contained in:
parent
be46e02c61
commit
cb05ce5b44
76 changed files with 54 additions and 52 deletions
10
nixos/hosts/main/wireplumber/51-digital-output.conf
Normal file
10
nixos/hosts/main/wireplumber/51-digital-output.conf
Normal file
|
@ -0,0 +1,10 @@
|
|||
monitor.alsa.rules = [{
|
||||
matches = [{
|
||||
node.name = "alsa_output.pci-0000_00_1f.3.iec958-stereo"
|
||||
}]
|
||||
actions = {
|
||||
update-props = {
|
||||
node.description = "Digital Output"
|
||||
}
|
||||
}
|
||||
}]
|
10
nixos/hosts/main/wireplumber/51-hdmi-otuput.conf
Normal file
10
nixos/hosts/main/wireplumber/51-hdmi-otuput.conf
Normal file
|
@ -0,0 +1,10 @@
|
|||
monitor.alsa.rules = [{
|
||||
matches = [{
|
||||
node.name = "alsa_output.pci-0000_01_00.1.hdmi-stereo"
|
||||
}]
|
||||
actions = {
|
||||
update-props = {
|
||||
node.description = "Monitor speakers"
|
||||
}
|
||||
}
|
||||
}]
|
11
nixos/hosts/main/wireplumber/51-razerHeadphones-device.conf
Normal file
11
nixos/hosts/main/wireplumber/51-razerHeadphones-device.conf
Normal file
|
@ -0,0 +1,11 @@
|
|||
monitor.alsa.rules = [{
|
||||
matches = [{
|
||||
device.name = "alsa_card.usb-Razer_Razer_USB_Audio_Controller_000000000000000000000000-00"
|
||||
}]
|
||||
actions = {
|
||||
update-props = {
|
||||
device.description = "Headphones"
|
||||
device.profile = "Pro Audio"
|
||||
}
|
||||
}
|
||||
}]
|
10
nixos/hosts/main/wireplumber/51-razerHeadphones-input.conf
Normal file
10
nixos/hosts/main/wireplumber/51-razerHeadphones-input.conf
Normal file
|
@ -0,0 +1,10 @@
|
|||
monitor.alsa.rules = [{
|
||||
matches = [{
|
||||
node.name = "alsa_input.usb-Razer_Razer_USB_Audio_Controller_000000000000000000000000-00.pro-input-0"
|
||||
}]
|
||||
actions = {
|
||||
update-props = {
|
||||
node.description = "Headphones"
|
||||
}
|
||||
}
|
||||
}]
|
22
nixos/hosts/main/wireplumber/51-razerHeadphones-output.conf
Normal file
22
nixos/hosts/main/wireplumber/51-razerHeadphones-output.conf
Normal file
|
@ -0,0 +1,22 @@
|
|||
monitor.alsa.rules = [
|
||||
{
|
||||
matches = [{
|
||||
node.name = "alsa_output.usb-Razer_Razer_USB_Audio_Controller_000000000000000000000000-00.pro-output-0"
|
||||
}]
|
||||
actions = {
|
||||
update-props = {
|
||||
node.description = "Headphones (Chat)"
|
||||
}
|
||||
}
|
||||
}
|
||||
{
|
||||
matches = [{
|
||||
node.name = "alsa_output.usb-Razer_Razer_USB_Audio_Controller_000000000000000000000000-00.pro-output-1"
|
||||
}]
|
||||
actions = {
|
||||
update-props = {
|
||||
node.description = "Headphones (Game)"
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
Loading…
Add table
Add a link
Reference in a new issue