fmt
This commit is contained in:
@@ -1,10 +1,19 @@
|
||||
{ inputs, config, namespace, lib, pkgs, ... }:
|
||||
{
|
||||
inputs,
|
||||
config,
|
||||
namespace,
|
||||
lib,
|
||||
pkgs,
|
||||
...
|
||||
}:
|
||||
let
|
||||
inherit (lib.${namespace}) mkModule mkOpt mkBoolOpt;
|
||||
inherit (lib.${namespace}) mkOpt;
|
||||
name = "otbr";
|
||||
cfg = config.${namespace}.services.${name};
|
||||
|
||||
otbrPackage = pkgs.callPackage "${inputs.nixpkgs-otbr}/pkgs/by-name/op/openthread-border-router/package.nix" { };
|
||||
otbrPackage =
|
||||
pkgs.callPackage "${inputs.nixpkgs-otbr}/pkgs/by-name/op/openthread-border-router/package.nix"
|
||||
{ };
|
||||
|
||||
otbrConfig = lib.${namespace}.mkModule {
|
||||
inherit config name;
|
||||
@@ -25,7 +34,7 @@ let
|
||||
listenAddress = cfg.listenAddress;
|
||||
listenPort = cfg.port;
|
||||
};
|
||||
radio = {
|
||||
radio = {
|
||||
device = "/dev/serial/by-id/usb-dresden_elektronik_Thread_RCP__ConBee_II__DE2475318-if00";
|
||||
baudRate = 460800;
|
||||
flowControl = true;
|
||||
|
||||
Reference in New Issue
Block a user