gorgon: set up offsite backup
This commit is contained in:
parent
8dcc5a1f2f
commit
57d04d981f
3 changed files with 45 additions and 1 deletions
|
@ -42,9 +42,17 @@ let
|
|||
in
|
||||
{
|
||||
imports = [
|
||||
../modules/profiles/laptop.nix
|
||||
./hardware-configuration.nix
|
||||
];
|
||||
|
||||
dadada.backupClient.backup2 = {
|
||||
enable = true;
|
||||
passphrasePath = config.age.secrets."${config.networking.hostName}-backup-passphrase".path;
|
||||
sshIdentityFile = config.age.secrets."${config.networking.hostName}-backup-ssh-key".path;
|
||||
repo = "u355513-sub1@u355513-sub1.your-storagebox.de:/home/backup";
|
||||
};
|
||||
|
||||
nix.extraOptions = ''
|
||||
experimental-features = nix-command flakes
|
||||
# Prevent garbage collection for nix shell and direnv
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue