22 lines
511 B
Nix
22 lines
511 B
Nix
{ pkgs, inputs, ... }:
|
|
{
|
|
imports = [
|
|
../common/global
|
|
../common/compute-node.nix
|
|
./hardware.nix
|
|
];
|
|
|
|
networking = {
|
|
useDHCP = pkgs.lib.mkForce false;
|
|
hostName = "c1";
|
|
domain = "home.paler.net";
|
|
interfaces.eno1.ipv4.addresses = [{
|
|
address = "192.168.1.71";
|
|
prefixLength = 24;
|
|
}];
|
|
defaultGateway = "192.168.1.1";
|
|
nameservers = [ "192.168.1.1" ];
|
|
};
|
|
services.tailscaleAutoconnect.authkey = "tskey-auth-kmFvBT3CNTRL-wUbELKSd5yhuuTwTcgJZxhPUTxKgcYKF";
|
|
}
|