mirror of
https://github.com/NixOS/nixos-hardware
synced 2024-11-26 21:09:42 +01:00
lenovo-thinkpad-z13-gen2: move to asound.conf
`sound.*` was removed upstream in Nixpkgs
This commit is contained in:
parent
c5013aa7ce
commit
9a187879f4
2 changed files with 10 additions and 11 deletions
9
lenovo/thinkpad/z/gen2/z13/asound.conf
Normal file
9
lenovo/thinkpad/z/gen2/z13/asound.conf
Normal file
|
@ -0,0 +1,9 @@
|
||||||
|
pcm.!default {
|
||||||
|
type plug
|
||||||
|
slave.pcm "hw:1,0"
|
||||||
|
}
|
||||||
|
|
||||||
|
ctl.!default {
|
||||||
|
type hw
|
||||||
|
card 1
|
||||||
|
}
|
|
@ -5,15 +5,5 @@
|
||||||
../../../../../lenovo/thinkpad/z/gen2
|
../../../../../lenovo/thinkpad/z/gen2
|
||||||
];
|
];
|
||||||
|
|
||||||
sound.extraConfig = ''
|
environment.etc."asound.conf".source = ./asound.conf;
|
||||||
pcm.!default {
|
|
||||||
type plug
|
|
||||||
slave.pcm "hw:1,0"
|
|
||||||
}
|
|
||||||
|
|
||||||
ctl.!default {
|
|
||||||
type hw
|
|
||||||
card 1
|
|
||||||
}
|
|
||||||
'';
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue