nix/nixos/hosts/backups-rpi4/default.nix
2025-02-24 13:21:23 -08:00

14 lines
393 B
Nix

{ hostname, ... }: {
imports = [
../../common/services/tailscale-autoconnect.nix
../../common/modules/raspberry-pi-4.nix
./backup-script.nix
./cron.nix
./wireguard.nix
];
time.timeZone = "Europe/Warsaw";
networking.hostName = hostname;
services.tailscale.extraUpFlags = [ "--advertise-exit-node" ];
boot.kernel.sysctl = { "net.ipv4.ip_forward" = true; };
}