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 cbc2f04737
commit 98ef1d0a50

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;