2024-12-16 20:46:25 +01:00
|
|
|
{ ... }: {
|
2024-04-24 03:40:47 +02:00
|
|
|
imports = [
|
|
|
|
../../common/services/tailscale-autoconnect.nix
|
2024-12-16 20:46:25 +01:00
|
|
|
../../common/modules/raspberry-pi-4.nix
|
2024-04-24 03:40:47 +02:00
|
|
|
];
|
|
|
|
|
2024-12-16 20:46:25 +01:00
|
|
|
time.timeZone = "America/Los_Angeles";
|
2024-04-24 03:40:47 +02:00
|
|
|
networking.hostName = "bakersfield-rpi4";
|
2024-12-16 21:15:25 +01:00
|
|
|
services.tailscale.extraUpFlags = [
|
|
|
|
"--advertise-exit-node"
|
2024-12-22 20:07:08 +01:00
|
|
|
"--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,192.168.1.99/32,192.168.1.0/24"
|
2024-12-16 21:15:25 +01:00
|
|
|
];
|
2024-04-24 03:40:47 +02:00
|
|
|
boot.kernel.sysctl = { "net.ipv4.ip_forward" = true; };
|
2024-12-23 01:16:20 +01:00
|
|
|
# networking.firewall.allowedTCPPorts = [ 22 ];
|
2024-04-24 03:40:47 +02:00
|
|
|
}
|