From 28c6e43220e2aa01f81f992c938f3f5cd40aeb54 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karel=20Ko=C4=8D=C3=AD?= Date: Sun, 23 Oct 2022 15:35:31 +0200 Subject: nixos/turris-moxled: fix for Linux 6.0 --- nixos/modules/turris-moxled.nix | 4 ++-- 1 file 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" ]; }; -- cgit v1.2.3