flake-parts: rename lib' to conf
Signed-off-by: Amneesh Singh <natto@weirdnatto.in>
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
{ config, pkgs, lib', ... }:
|
||||
{ config, pkgs, conf, ... }:
|
||||
{
|
||||
networking = {
|
||||
hostName = "marisa";
|
||||
@@ -37,7 +37,7 @@
|
||||
}];
|
||||
};
|
||||
};
|
||||
wireguard.interfaces.wg0 = with lib'.network.addresses.wireguard.ips; {
|
||||
wireguard.interfaces.wg0 = with conf.network.addresses.wireguard.ips; {
|
||||
ips = [ marisa ];
|
||||
listenPort = 17840;
|
||||
privateKeyFile = "/var/secrets/wg.key";
|
||||
@@ -46,7 +46,7 @@
|
||||
#Oracle VM1
|
||||
publicKey = "z0Y2VNEWcyVQVSqRHiwmiJ5/0MgSPM+HZfEcwIccSxM=";
|
||||
allowedIPs = [ remilia ];
|
||||
endpoint = "${lib'.network.addresses.domain.natto}:17840";
|
||||
endpoint = "${conf.network.addresses.domain.natto}:17840";
|
||||
persistentKeepalive = 25;
|
||||
}
|
||||
];
|
||||
|
Reference in New Issue
Block a user