feat(ap01): add ubus

Signed-off-by: Ryan Lahfa <ryan@dgnum.eu>
This commit is contained in:
Ryan Lahfa 2024-09-05 14:58:38 +02:00
parent 45b106190f
commit adb843dd8b

View file

@ -94,6 +94,7 @@ rec {
"${modulesPath}/bridge" "${modulesPath}/bridge"
"${modulesPath}/jitter-rng" "${modulesPath}/jitter-rng"
"${modulesPath}/pki" "${modulesPath}/pki"
"${modulesPath}/ubus"
../../modules/dgn-access-control.nix ../../modules/dgn-access-control.nix
# TODO: god that's so a fucking hack. # TODO: god that's so a fucking hack.
(import "${modulesPath}/../devices/zyxel-nwa50ax").module (import "${modulesPath}/../devices/zyxel-nwa50ax").module
@ -103,6 +104,7 @@ rec {
# Get moar random please # Get moar random please
services.jitter = svc.jitter-rng.build { }; services.jitter = svc.jitter-rng.build { };
services.ubus = svc.ubus.build { };
# SSH keys are handled by the access control module. # SSH keys are handled by the access control module.
dgn-access-control.enable = true; dgn-access-control.enable = true;