Compare commits
2 Commits
b62198e7a0
...
c8294a848e
Author | SHA1 | Date | |
---|---|---|---|
c8294a848e | |||
d195436aea |
@ -10,7 +10,7 @@ fi
|
|||||||
|
|
||||||
cmd=" \
|
cmd=" \
|
||||||
nixos-rebuild switch \
|
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
|
if [ -z $DEPLOY_ADDRESS ] || [ $DEPLOY_ADDRESS = "-" ]; then
|
||||||
|
@ -5,6 +5,8 @@
|
|||||||
[
|
[
|
||||||
./hardware-configuration.nix
|
./hardware-configuration.nix
|
||||||
../../configuration/common
|
../../configuration/common
|
||||||
|
|
||||||
|
./backup-scripts.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
boot.loader.systemd-boot.enable = true;
|
boot.loader.systemd-boot.enable = true;
|
||||||
@ -27,7 +29,7 @@
|
|||||||
rsync_short_args -rltD
|
rsync_short_args -rltD
|
||||||
retain alpha 14
|
retain alpha 14
|
||||||
ssh_args -o BatchMode=yes -o IdentityFile=/var/src/secrets/rsnapshot/id_rsa
|
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
|
# rsync_short_args
|
||||||
# -a -> -rlptgoD
|
# -a -> -rlptgoD
|
||||||
|
Loading…
Reference in New Issue
Block a user