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