This commit is contained in:
joygnu 2024-08-19 21:09:17 +02:00
parent 16cf3d07a8
commit 8406522bfa
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";
};
};
}