added mic-led fix
This commit is contained in:
parent
ad15a6fc86
commit
eafbddee08
1 changed files with 9 additions and 0 deletions
|
@ -23,6 +23,15 @@
|
||||||
python.install-older = true;
|
python.install-older = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
systemd.services.configure-mic-leds = rec {
|
||||||
|
wantedBy = [ "sound.target" ];
|
||||||
|
after = wantedBy;
|
||||||
|
serviceConfig.Type = "oneshot";
|
||||||
|
script = ''
|
||||||
|
echo follow-route > /sys/class/sound/ctl-led/mic/mode
|
||||||
|
'';
|
||||||
|
};
|
||||||
|
|
||||||
home-manager = {
|
home-manager = {
|
||||||
extraSpecialArgs = {
|
extraSpecialArgs = {
|
||||||
inherit inputs;
|
inherit inputs;
|
||||||
|
|
Loading…
Reference in a new issue