aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarel Kočí <cynerd@email.cz>2022-10-23 15:35:31 +0200
committerKarel Kočí <cynerd@email.cz>2022-10-23 15:35:31 +0200
commit28c6e43220e2aa01f81f992c938f3f5cd40aeb54 (patch)
treef86be713bb2d35327fa4be939018a9211854e00d
parentbc84b4506dd1f47f805eaa6628a784e3f83c731b (diff)
downloadnixturris-28c6e43220e2aa01f81f992c938f3f5cd40aeb54.tar.gz
nixturris-28c6e43220e2aa01f81f992c938f3f5cd40aeb54.tar.bz2
nixturris-28c6e43220e2aa01f81f992c938f3f5cd40aeb54.zip
nixos/turris-moxled: fix for Linux 6.0
-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" ];
};