24 lines
482 B
Nix
24 lines
482 B
Nix
|
{ config, pkgs, lib, ... }:
|
||
|
|
||
|
{
|
||
|
services.fieldpoc = {
|
||
|
enable = true;
|
||
|
dhcp = {
|
||
|
enable = true;
|
||
|
interface = "vlan132";
|
||
|
subnet = "10.42.132.0/24";
|
||
|
pool = "10.42.132.200 - 10.42.132.250";
|
||
|
router = "10.42.132.1";
|
||
|
dnsServers = "10.42.10.8";
|
||
|
omm = "10.42.132.11";
|
||
|
reservations = [
|
||
|
{
|
||
|
name = "rfp-01";
|
||
|
macAddress = "00:30:42:1B:8C:7A";
|
||
|
ipAddress = "10.42.132.11";
|
||
|
}
|
||
|
];
|
||
|
};
|
||
|
};
|
||
|
}
|