lib: rename

Signed-off-by: Amneesh Singh <natto@weirdnatto.in>
This commit is contained in:
2023-03-08 11:17:33 +05:30
parent f31eb4c876
commit 8e3a3aca2b
12 changed files with 33 additions and 28 deletions

View File

@@ -1,4 +1,4 @@
{ lib, config, network, pkgs, ... }:
{ lib, config, lib', pkgs, ... }:
{
networking = {
useDHCP = false;
@@ -27,7 +27,7 @@
useDHCP = true;
};
};
nat = with network.addresses.wireguard.ips; {
nat = with lib'.network.addresses.wireguard.ips; {
enable = true;
externalInterface = "ens3";
internalInterfaces = [ "wg0" ];
@@ -46,7 +46,7 @@
}
];
};
wireguard.interfaces = with network.addresses.wireguard; {
wireguard.interfaces = with lib'.network.addresses.wireguard; {
wg0 = {
ips = [ ips.remilia ];
listenPort = 17840;