aboutsummaryrefslogtreecommitdiff
path: root/nixos/modules
diff options
context:
space:
mode:
Diffstat (limited to 'nixos/modules')
-rw-r--r--nixos/modules/turris-moxled.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/nixos/modules/turris-moxled.nix b/nixos/modules/turris-moxled.nix
index 2a40f62..f364908 100644
--- a/nixos/modules/turris-moxled.nix
+++ b/nixos/modules/turris-moxled.nix
@@ -16,9 +16,9 @@ with lib;
systemd.services."mox-redled" = {
script = if config.turris.moxled then
- "echo heartbeat > /sys/class/leds/red/trigger"
+ "echo heartbeat > /sys/class/leds/mox:red:activity/trigger"
else
- "echo 0 > /sys/class/leds/red/brightness"
+ "echo 0 > /sys/class/leds/mox:red:activity/brightness"
"";
wantedBy = [ "multi-user.target" ];
};