fix(netconf/dgn-hardware): missing parenthesis

This commit is contained in:
catvayor 2024-12-10 13:46:14 +01:00 committed by Tom Hubrecht
parent d63751578a
commit 9601caba4f
Signed by: thubrecht
SSH key fingerprint: SHA256:CYNvFo44Ar9qCNnWNnvJVhs0QXO9AZjOLlPeWcSij3Q
3 changed files with 3 additions and 3 deletions

View file

@ -126,8 +126,7 @@ in
}; };
netconf = { netconf = {
evalConfig = evalConfig = (import nixpkgs.nixos.unstable.path { }).lib.evalModules;
args: (import nixpkgs.nixos.unstable.path { }).lib.evalModules (builtins.trace args.modules args);
defaults = defaults =
{ nodeMeta, nodePath, ... }: { nodeMeta, nodePath, ... }:

View file

@ -40,6 +40,7 @@ in
]; ];
}; };
}; };
dgn-hardware.model = "EX2300-48P";
dgn-interfaces = { dgn-interfaces = {
# "ge-0/0/0" = AP-staging; # "ge-0/0/0" = AP-staging;
# "ge-0/0/1" = AP-staging; # "ge-0/0/1" = AP-staging;

View file

@ -22,7 +22,7 @@ let
interfaces interfaces
// ( // (
let let
ports = import ./. + "${model}.nix" range; ports = import (./. + "/${model}.nix") range;
in in
(mkInterfaces { (mkInterfaces {
supportPoE = true; supportPoE = true;