ref: cleanup
This commit is contained in:
parent
0f3ccffd4d
commit
326f4f7f19
7 changed files with 5 additions and 34 deletions
|
|
@ -4,15 +4,12 @@ let
|
|||
net = import ../data/network.nix;
|
||||
in
|
||||
{
|
||||
# Set a static IP address
|
||||
networking.interfaces.eth0.ipv4.addresses = [{
|
||||
address = net.ips.pi;
|
||||
prefixLength = net.network.cidr;
|
||||
}];
|
||||
|
||||
# Set default gateway (your router's IP)
|
||||
networking.defaultGateway = net.ips.router;
|
||||
|
||||
# Set DNS servers (fallback when Blocky isn't working)
|
||||
networking.nameservers = net.fallback_dns_servers;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue