lenovo-thinkpad-z13-gen2: move to asound.conf
`sound.*` was removed upstream in Nixpkgs
This commit is contained in:
parent
c5013aa7ce
commit
9a187879f4
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