Remove useless generated /etc/hosts
This commit is contained in:
parent
83e191134a
commit
9d4b2b4b7f
1 changed files with 0 additions and 5 deletions
|
@ -24,9 +24,4 @@
|
|||
privateKeyFile = config.age.secrets."${config.networking.hostName}-wireguard-private-key".path;
|
||||
listenPort = 51820;
|
||||
};
|
||||
|
||||
networking.hosts = lib.mapAttrs' (hostname: vpnConfig: {
|
||||
name = vpnConfig.ip;
|
||||
value = [ "${hostname}.wg.aciceri.dev" ];
|
||||
}) vpn;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue