add cron job to sync nix config mirror on github
This commit is contained in:
@ -28,17 +28,28 @@
|
|||||||
];
|
];
|
||||||
boot.supportedFilesystems = [ "zfs" ];
|
boot.supportedFilesystems = [ "zfs" ];
|
||||||
|
|
||||||
|
services.cron.enable = true;
|
||||||
|
services.cron.systemCronJobs = [
|
||||||
|
# m h dom m dow
|
||||||
|
# https://crontab.guru <3
|
||||||
|
"0 0/1 * * * cd /root/nix-config && git pull origin && git push github"
|
||||||
|
];
|
||||||
|
|
||||||
networking.firewall.allowedTCPPorts = [
|
networking.firewall.allowedTCPPorts = [
|
||||||
22 #git ssh
|
22 #git ssh
|
||||||
80 443 #http server
|
80 443 #http server
|
||||||
5000 #frigate
|
5000 #frigate
|
||||||
8083 137 138 139 445 548 3702 5357 #prob some samba shit
|
8083 137 138 139 445 548 3702 5357 #prob some samba shit
|
||||||
|
24454 #minecraft voice chat
|
||||||
|
25565 # minecraft server
|
||||||
];
|
];
|
||||||
networking.firewall.allowedUDPPorts = [
|
networking.firewall.allowedUDPPorts = [
|
||||||
22 #git ssh
|
22 #git ssh
|
||||||
80 443 #http server
|
80 443 #http server
|
||||||
5000 #frigate
|
5000 #frigate
|
||||||
8083 137 138 139 445 548 3702 5357 #prob some samba shit
|
8083 137 138 139 445 548 3702 5357 #prob some samba shit
|
||||||
|
24454 #minecraft voice chat
|
||||||
|
25565 # minecraft server
|
||||||
];
|
];
|
||||||
|
|
||||||
networking.firewall.allowedUDPPortRanges = [
|
networking.firewall.allowedUDPPortRanges = [
|
||||||
|
Reference in New Issue
Block a user