net
This commit is contained in:
@@ -7,6 +7,9 @@
|
||||
namespace,
|
||||
...
|
||||
}:
|
||||
let
|
||||
net = lib.${namespace}.network;
|
||||
in
|
||||
{
|
||||
imports = [
|
||||
./adguard.nix
|
||||
@@ -119,11 +122,11 @@
|
||||
# ###################################################
|
||||
|
||||
network = {
|
||||
hostName = "pi5";
|
||||
hostName = net.hosts.pi5.hostname;
|
||||
ipv4 = {
|
||||
method = "manual";
|
||||
address = "10.0.1.2/24";
|
||||
gateway = "10.0.1.1";
|
||||
address = net.hosts.pi5.lan4;
|
||||
gateway = net.hosts.pi5.gateway;
|
||||
dns = "1.1.1.1";
|
||||
interface = "end0";
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user