Files
alo-cluster/hosts/c2/default.nix

22 lines
511 B
Nix

{ pkgs, inputs, ... }:
{
imports = [
../common/global
../common/compute-node.nix
./hardware.nix
];
networking = {
useDHCP = pkgs.lib.mkForce false;
hostName = "c2";
domain = "home.paler.net";
interfaces.eno1.ipv4.addresses = [{
address = "192.168.1.72";
prefixLength = 24;
}];
defaultGateway = "192.168.1.1";
nameservers = [ "192.168.1.1" ];
};
services.tailscaleAutoconnect.authkey = "tskey-auth-kbYnZK2CNTRL-SpUVCuzS6P3ApJiDaB6RM3M4b8M9TXgS";
}