cloudkrebs: add networking.nix
This commit is contained in:
parent
f8b1e849a6
commit
6c99817df0
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