Configure Static IP for home network

This commit is contained in:
coolneng 2023-07-07 11:17:34 +01:00
parent cacd057223
commit 74c8f76cb9
Signed by: coolneng
GPG Key ID: 9893DA236405AF57
1 changed files with 15 additions and 0 deletions

View File

@ -58,6 +58,21 @@ in {
}; };
}; };
systemd.network.networks."25-home" = {
name = "wlan0";
matchConfig = {
Name = "wlan0";
SSID = "Aminkas-5Ghz";
};
address = [ "192.168.13.3/24" ];
gateway = [ "192.168.13.1" ];
dns = [ "192.168.13.2" ];
networkConfig = {
DNSSEC = "no";
MulticastDNS = "yes";
};
};
# VPN setup # VPN setup
systemd.network.netdevs."wg0" = { systemd.network.netdevs."wg0" = {
netdevConfig = { netdevConfig = {