mirror of
https://github.com/js0ny/dotfiles.git
synced 2026-03-22 02:36:19 +00:00
dot(pw): mic name
Some checks failed
Shell Script Check & Format / shell-check (push) Has been cancelled
Some checks failed
Shell Script Check & Format / shell-check (push) Has been cancelled
This commit is contained in:
parent
f740b78081
commit
877cabbb42
2 changed files with 20 additions and 0 deletions
19
nixcfgs/modules/nixos/hardware/pipewire.nix
Normal file
19
nixcfgs/modules/nixos/hardware/pipewire.nix
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
{...}: {
|
||||
environment.etc."wireplumber/wireplumber.conf.d/51-rename-alsa-devices.conf".text = ''
|
||||
|
||||
monitor.alsa.rules = [
|
||||
{
|
||||
matches = [
|
||||
{
|
||||
node.name = "alsa_input.pci-0000_65_00.6.analog-stereo"
|
||||
}
|
||||
]
|
||||
actions = {
|
||||
update-props = {
|
||||
node.description = "内置麦克风"
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
'';
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue