testing
This commit is contained in:
parent
5ec46ef10c
commit
7de6df4aef
2 changed files with 2 additions and 2 deletions
|
@ -3,7 +3,7 @@
|
||||||
enable = true;
|
enable = true;
|
||||||
systemCronJobs = [
|
systemCronJobs = [
|
||||||
# Back up Local-Storage to NFS Storage
|
# 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
|
# 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"
|
"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
|
# Restart the VPN stack
|
||||||
|
|
|
@ -29,7 +29,7 @@
|
||||||
|
|
||||||
# Set the networking hostname:
|
# Set the networking hostname:
|
||||||
networking.hostName = "nuc-server";
|
networking.hostName = "nuc-server";
|
||||||
networking.firewall.allowedTCPPorts = [ 22 ];
|
# networking.firewall.allowedTCPPorts = [ 22 ];
|
||||||
|
|
||||||
services.tailscale.extraUpFlags = [
|
services.tailscale.extraUpFlags = [
|
||||||
"--advertise-exit-node"
|
"--advertise-exit-node"
|
||||||
|
|
Loading…
Reference in a new issue