added crontab for auto updating

This commit is contained in:
John Lancaster
2024-12-29 16:57:36 -06:00
parent 2f219876ba
commit ae002a4370
4 changed files with 12 additions and 5 deletions

View File

@@ -35,4 +35,11 @@
services.vscode-server.enable = true;
services.openssh.enable = true;
services.tailscale.enable = true;
services.cron = {
enable = true;
systemCronJobs = [
"30 2 * * * /run/current-system/sw/bin/nfs > /etc/nixos/auto_update.log 2>&1"
];
};
}