lib/network: init

Signed-off-by: Amneesh Singh <natto@weirdnatto.in>
This commit is contained in:
2023-01-23 21:31:19 +05:30
committed by natto1784
parent b3fac02b73
commit 950cf357d1
8 changed files with 88 additions and 74 deletions

17
lib/network.nix Normal file
View File

@@ -0,0 +1,17 @@
{
addresses = {
wireguard = rec {
ipPrefix = "10.55.0";
prefixLength = 24;
ipsWithPrefixLength = "10.55.0.0/24";
ips = {
remilia = "${ipPrefix}.1";
marisa = "${ipPrefix}.2";
satori = "${ipPrefix}.3";
};
};
domain = {
natto = "weirdnatto.in";
};
};
}