1
0

Compare commits

...

2 Commits

Author SHA1 Message Date
c8294a848e Tweak backup config 2021-12-07 19:31:17 +01:00
d195436aea show me what broke on deploy 2021-12-07 19:18:01 +01:00
2 changed files with 4 additions and 2 deletions

View File

@ -10,7 +10,7 @@ fi
cmd=" \
nixos-rebuild switch \
-I nixos-config=hosts/${DEPLOY_HOST}/configuration.nix \
-I nixos-config=hosts/${DEPLOY_HOST}/configuration.nix --show-trace\
"
if [ -z $DEPLOY_ADDRESS ] || [ $DEPLOY_ADDRESS = "-" ]; then

View File

@ -5,6 +5,8 @@
[
./hardware-configuration.nix
../../configuration/common
./backup-scripts.nix
];
boot.loader.systemd-boot.enable = true;
@ -27,7 +29,7 @@
rsync_short_args -rltD
retain alpha 14
ssh_args -o BatchMode=yes -o IdentityFile=/var/src/secrets/rsnapshot/id_rsa
backup backup-replication@clerie-backup.net.clerie.de:/clerie-backup-replication/ clerie-backup/
backup backup-replication@clerie-backup.net.clerie.de:/clerie-backup-replication/* clerie-backup/
'';
# rsync_short_args
# -a -> -rlptgoD