cloudkrebs: add networking.nix
This commit is contained in:
parent
b95a514bcc
commit
5426963940
14
modules/cloudkrebs/networking.nix
Normal file
14
modules/cloudkrebs/networking.nix
Normal file
|
@ -0,0 +1,14 @@
|
||||||
|
{...}:
|
||||||
|
{
|
||||||
|
networking.hostName = "cloudkrebs";
|
||||||
|
networking.interfaces.enp2s1.ip4 = [
|
||||||
|
{
|
||||||
|
address = "104.167.113.104";
|
||||||
|
prefixLength = 24;
|
||||||
|
}
|
||||||
|
];
|
||||||
|
networking.defaultGateway = "104.167.113.1";
|
||||||
|
networking.nameservers = [
|
||||||
|
"8.8.8.8"
|
||||||
|
];
|
||||||
|
}
|
Loading…
Reference in a new issue