Configure Static IP for home network
This commit is contained in:
parent
cacd057223
commit
74c8f76cb9
|
@ -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
|
||||
systemd.network.netdevs."wg0" = {
|
||||
netdevConfig = {
|
||||
|
|
Loading…
Reference in New Issue