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:
@@ -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";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user