All checks were successful
Run pre-commit on all files / pre-commit (push) Successful in 23s
22 lines
419 B
Nix
22 lines
419 B
Nix
# SPDX-FileCopyrightText: 2025 Lubin Bailly <lubin.bailly@dgnum.eu>
|
|
#
|
|
# SPDX-License-Identifier: EUPL-1.2
|
|
|
|
{ lib, ... }:
|
|
let
|
|
inherit (lib) genList;
|
|
in
|
|
{
|
|
dgn-hackdays = {
|
|
enable = true;
|
|
portConfig = false;
|
|
index = 5;
|
|
};
|
|
dgn-profiles = {
|
|
"client".interfaces = genList (i: "ge-0/0/${toString i}") 45 ++ [ "ge-0/0/46" ];
|
|
"uplink".interfaces = [
|
|
"ge-0/0/45"
|
|
"ge-0/0/47"
|
|
];
|
|
};
|
|
}
|