Testing
This commit is contained in:
parent
7cdedc8abe
commit
a095fd9a59
2 changed files with 5 additions and 4 deletions
|
@ -4,9 +4,9 @@
|
|||
systemCronJobs = [
|
||||
# Backups from nuc-docker01 - See "backup-script.nix"
|
||||
# https://git.sysctl.io/albert/random-scripts/src/branch/master/rsync-pi/rsync-all.sh
|
||||
''0 9 * * * root rsync-backups >> /root/logs/backups/rsync_`date "+\%Y-\%m-\%d"`.log''
|
||||
''0 19 * * 3 root rsync-data-vol >> /root/logs/data-vol/rsync_`date "+\%Y-\%m-\%d"`.log''
|
||||
''0 1 * * * root rsync-sysctl >> /root/logs/sysctl/rsync_`date "+\%Y-\%m-\%d"`.log''
|
||||
''0 9 * * * root rsync-backups &> /root/logs/backups/rsync_`date "+\%Y-\%m-\%d"`.log''
|
||||
''0 19 * * 3 root rsync-data-vol &> /root/logs/data-vol/rsync_`date "+\%Y-\%m-\%d"`.log''
|
||||
''0 1 * * * root rsync-sysctl &> /root/logs/sysctl/rsync_`date "+\%Y-\%m-\%d"`.log''
|
||||
];
|
||||
};
|
||||
}
|
|
@ -22,8 +22,9 @@
|
|||
|
||||
# backups-rpi4 cron job to back up sysctl.io's Docker files
|
||||
users.users.root.openssh.authorizedKeys.keys = [ ''ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIKp2wgqFcr0LGaUXbom88/zK2631pysePUWIaCMljT0K root@backups-rpi4'' ];
|
||||
services.openssh.settings.PermitRootLogin = lib.mkDefault true;
|
||||
|
||||
# steam , etc
|
||||
# steam, etc
|
||||
nixpkgs.config.allowUnfree = true;
|
||||
|
||||
boot.initrd.availableKernelModules = [ "xhci_pci" "nvme" "thunderbolt" "sd_mod" "uas" ];
|
||||
|
|
Loading…
Reference in a new issue