mirror of
https://github.com/SebastianStork/nixos-config.git
synced 2026-03-22 18:59:07 +01:00
networking: Unify underlay config across hosts
This commit is contained in:
parent
1d1709e1ba
commit
27b5c57023
19 changed files with 240 additions and 258 deletions
|
|
@ -20,13 +20,16 @@
|
|||
boot.loader.systemd-boot.enable = true;
|
||||
|
||||
networking = {
|
||||
overlay.address = "10.254.250.4";
|
||||
overlay = {
|
||||
address = "10.254.250.4";
|
||||
role = "server";
|
||||
};
|
||||
underlay = {
|
||||
interface = "enp1s0";
|
||||
address = "167.235.73.246";
|
||||
cidr = "167.235.73.246/32";
|
||||
isPublic = true;
|
||||
gateway = "172.31.1.1";
|
||||
};
|
||||
isServer = true;
|
||||
};
|
||||
|
||||
services = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue