diff options
author | Karel Kočí <cynerd@email.cz> | 2022-10-23 15:35:31 +0200 |
---|---|---|
committer | Karel Kočí <cynerd@email.cz> | 2022-10-23 15:35:31 +0200 |
commit | 28c6e43220e2aa01f81f992c938f3f5cd40aeb54 (patch) | |
tree | f86be713bb2d35327fa4be939018a9211854e00d /nixos | |
parent | bc84b4506dd1f47f805eaa6628a784e3f83c731b (diff) | |
download | nixturris-28c6e43220e2aa01f81f992c938f3f5cd40aeb54.tar.gz nixturris-28c6e43220e2aa01f81f992c938f3f5cd40aeb54.tar.bz2 nixturris-28c6e43220e2aa01f81f992c938f3f5cd40aeb54.zip |
nixos/turris-moxled: fix for Linux 6.0
Diffstat (limited to 'nixos')
-rw-r--r-- | nixos/modules/turris-moxled.nix | 4 |
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" ]; }; |