14 lines
472 B
Nix
14 lines
472 B
Nix
{ ... }: {
|
|
imports = [
|
|
../../common/services/tailscale-autoconnect.nix
|
|
../../common/modules/raspberry-pi-4.nix
|
|
];
|
|
|
|
time.timeZone = "America/Los_Angeles";
|
|
networking.hostName = "bakersfield-rpi4";
|
|
services.tailscale.extraUpFlags = [
|
|
"--advertise-exit-node"
|
|
"--advertise-routes=192.168.1.13/32,192.168.1.14/32,192.168.1.15/32,192.168.1.100/32,192.168.1.31/32,192.168.1.101/32"
|
|
];
|
|
boot.kernel.sysctl = { "net.ipv4.ip_forward" = true; };
|
|
}
|