fix(config): use libgpiod instead of gpiod for gpioset

The nixpkgs attribute for userspace GPIO tools is 'libgpiod',
not 'gpiod'. This provides the gpioset binary used by the
GPIO 23 internal USB hub service.
This commit is contained in:
2026-06-06 17:27:12 -04:00
parent 6771c9882a
commit a9b95c5d48

View File

@@ -70,7 +70,7 @@ in
htop htop
tmux tmux
neovim neovim
gpiod # GPIO control (for internal USB hub, AIO modules) libgpiod # GPIO control (for internal USB hub, AIO modules)
# ===== HAM Radio ===== # ===== HAM Radio =====
js8call js8call
@@ -213,8 +213,8 @@ in
serviceConfig = { serviceConfig = {
Type = "oneshot"; Type = "oneshot";
RemainAfterExit = true; RemainAfterExit = true;
ExecStart = "${pkgs.gpiod}/bin/gpioset 0 23=1"; ExecStart = "${pkgs.libgpiod}/bin/gpioset 0 23=1";
ExecStop = "${pkgs.gpiod}/bin/gpioset 0 23=0"; ExecStop = "${pkgs.libgpiod}/bin/gpioset 0 23=0";
}; };
}; };
} }