This commit is contained in:
joy 2024-08-19 21:09:17 +02:00
parent 6a0d9803f5
commit bc764c2b39
3 changed files with 13 additions and 0 deletions

View file

@ -15,5 +15,6 @@
./update
./polkit
./ssh
./ledfix
];
}

1
modules/ledfix/de Normal file
View file

@ -0,0 +1 @@

View file

@ -0,0 +1,11 @@
{ ... }:
{
systemd.services.micmute = {
description = "Set microphone mute LED to off";
wantedBy = [ "multi-user.target" ];
serviceConfig = {
ExecStart = "sh -c 'echo 0 | tee /sys/class/leds/thinkpad::micmute/brightness'";
Type = "oneshot";
};
};
}