nix/nixos/hosts/backups-rpi4/default.nix

15 lines
389 B
Nix
Raw Normal View History

2024-12-16 20:46:25 +01:00
{ ... }: {
2023-12-13 06:17:46 +01:00
imports = [
2024-01-12 07:03:47 +01:00
../../common/services/tailscale-autoconnect.nix
2024-12-16 20:46:25 +01:00
../../common/modules/raspberry-pi-4.nix
2023-12-13 14:58:10 +01:00
./backup-script.nix
./cron.nix
./wireguard.nix
2023-12-13 06:17:46 +01:00
];
2023-12-15 13:38:01 +01:00
2024-11-29 01:48:03 +01:00
time.timeZone = "Europe/Warsaw";
2023-12-13 06:17:46 +01:00
networking.hostName = "backups-rpi4";
services.tailscale.extraUpFlags = [ "--advertise-exit-node" ];
boot.kernel.sysctl = { "net.ipv4.ip_forward" = true; };
2024-11-29 01:48:03 +01:00
}