ledfix
This commit is contained in:
parent
6a0d9803f5
commit
bc764c2b39
|
@ -15,5 +15,6 @@
|
|||
./update
|
||||
./polkit
|
||||
./ssh
|
||||
./ledfix
|
||||
];
|
||||
}
|
||||
|
|
1
modules/ledfix/de
Normal file
1
modules/ledfix/de
Normal file
|
@ -0,0 +1 @@
|
|||
|
11
modules/ledfix/default.nix
Normal file
11
modules/ledfix/default.nix
Normal 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";
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Reference in a new issue