From 7de6df4aefb46e1a34e590412f74e4a9230f95c9 Mon Sep 17 00:00:00 2001 From: albert Date: Wed, 20 Nov 2024 23:03:31 +0100 Subject: [PATCH] testing --- nixos/hosts/nuc-server/cron.nix | 2 +- nixos/hosts/nuc-server/default.nix | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/nixos/hosts/nuc-server/cron.nix b/nixos/hosts/nuc-server/cron.nix index 14a6774b..89c195cf 100644 --- a/nixos/hosts/nuc-server/cron.nix +++ b/nixos/hosts/nuc-server/cron.nix @@ -3,7 +3,7 @@ enable = true; systemCronJobs = [ # Back up Local-Storage to NFS Storage - # "0 9 * * * root rsync -avr /Local-Storage/Data/Docker/ifargle.com/vpn-stack/ /Storage/Data/Docker/ifargle.com/vpn-stack/" + "0 9 * * * root rsync -avr /Local-Storage/Data/Docker/ifargle.com/vpn-stack/ /Storage/Data/Docker/ifargle.com/vpn-stack/" # Back up running containers weekly "0 0 * * * root rm -rf /Storage/Backups/Docker/ifargle.com/*; for i in $(docker ps --format '{{.Names}}'); do docker export $i | gzip -cf | cat > /Storage/Backups/Docker/ifargle.com/$i.tar.gz; done" # Restart the VPN stack diff --git a/nixos/hosts/nuc-server/default.nix b/nixos/hosts/nuc-server/default.nix index befd92c3..d8a82540 100644 --- a/nixos/hosts/nuc-server/default.nix +++ b/nixos/hosts/nuc-server/default.nix @@ -29,7 +29,7 @@ # Set the networking hostname: networking.hostName = "nuc-server"; - networking.firewall.allowedTCPPorts = [ 22 ]; + # networking.firewall.allowedTCPPorts = [ 22 ]; services.tailscale.extraUpFlags = [ "--advertise-exit-node"