mirror of
https://github.com/oddlama/nix-config.git
synced 2025-10-11 07:10:39 +02:00
chore: switch to static ip on ward
This commit is contained in:
parent
ed1683d50b
commit
4dae9408a5
1 changed files with 12 additions and 10 deletions
|
@ -40,16 +40,18 @@ in {
|
|||
'';
|
||||
};
|
||||
"10-wan" = {
|
||||
DHCP = "yes";
|
||||
dhcpV4Config.UseDNS = false;
|
||||
dhcpV6Config.UseDNS = false;
|
||||
ipv6AcceptRAConfig.UseDNS = false;
|
||||
#address = [
|
||||
# "192.168.178.2/24"
|
||||
# "fdee::1/64"
|
||||
#];
|
||||
#gateway = [
|
||||
#];
|
||||
#DHCP = "yes";
|
||||
#dhcpV4Config.UseDNS = false;
|
||||
#dhcpV6Config.UseDNS = false;
|
||||
#ipv6AcceptRAConfig.UseDNS = false;
|
||||
address = [
|
||||
#"192.168.178.2/24"
|
||||
#"fdee::1/64"
|
||||
"192.168.1.183/22"
|
||||
];
|
||||
gateway = [
|
||||
"192.168.1.1/22"
|
||||
];
|
||||
matchConfig.MACAddress = config.repo.secrets.local.networking.interfaces.wan.mac;
|
||||
networkConfig.IPv6PrivacyExtensions = "yes";
|
||||
linkConfig.RequiredForOnline = "routable";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue