Init
This commit is contained in:
18
hosts/cyper-node1/configuration.nix
Normal file
18
hosts/cyper-node1/configuration.nix
Normal file
@@ -0,0 +1,18 @@
|
||||
{ lib, ... }:
|
||||
|
||||
{
|
||||
imports = [ ../services/k3s-agent.nix ];
|
||||
|
||||
networking = {
|
||||
hostName = lib.mkForce "cyper-node1";
|
||||
useDHCP = false;
|
||||
interfaces.eth0.ipv4.addresses = [
|
||||
{
|
||||
address = "192.168.2.30";
|
||||
prefixLength = 24;
|
||||
}
|
||||
];
|
||||
defaultGateway = "192.168.2.1";
|
||||
nameservers = [ "192.168.2.2" ];
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user