The big variable overhaul
This commit is contained in:
parent
3f0a235dc8
commit
6dab8fc029
36 changed files with 269 additions and 326 deletions
|
@ -1,11 +0,0 @@
|
|||
rec {
|
||||
netInt = "eno1";
|
||||
localSpan = "10.0.0";
|
||||
server = "${localSpan}.2";
|
||||
pc = "${localSpan}.3";
|
||||
vm = "${localSpan}.4";
|
||||
hx = "${localSpan}.70";
|
||||
|
||||
wgInt = "wg0";
|
||||
wgSpan = "10.100.0";
|
||||
}
|
|
@ -1,17 +1,7 @@
|
|||
{
|
||||
# Networking settings
|
||||
networking = {
|
||||
# Choose networking method
|
||||
wireless.enable = false;
|
||||
dhcpcd.enable = true;
|
||||
|
||||
# Set hostnames
|
||||
hosts = let
|
||||
ips = import ../modules/ips.nix;
|
||||
in {
|
||||
"${ips.server}" = ["server"];
|
||||
"${ips.pc}" = ["pc"];
|
||||
"${ips.vm}" = ["vm"];
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue