diff options
| author | Benedikt Peetz <benedikt.peetz@b-peetz.de> | 2025-05-01 13:02:59 +0200 | 
|---|---|---|
| committer | Benedikt Peetz <benedikt.peetz@b-peetz.de> | 2025-05-01 13:02:59 +0200 | 
| commit | ecf6be2cbe045950d4272aedbfc20a871b56993a (patch) | |
| tree | 86966a00cde58c411ff8ed0059c5632cdfb84a64 /modules | |
| parent | modules/users: Add hm config and root user (diff) | |
| download | nixos-config-ecf6be2cbe045950d4272aedbfc20a871b56993a.zip | |
modules/backup: Use ssh module to store the hostkey of the storagebox
Diffstat (limited to 'modules')
| -rw-r--r-- | modules/by-name/ba/backup/module.nix | 7 | 
1 files changed, 7 insertions, 0 deletions
| diff --git a/modules/by-name/ba/backup/module.nix b/modules/by-name/ba/backup/module.nix index 030ce34d..c8f8a924 100644 --- a/modules/by-name/ba/backup/module.nix +++ b/modules/by-name/ba/backup/module.nix @@ -49,6 +49,13 @@ in { }; }; + soispha.programs.ssh = { + enable = true; + rootKnownHosts = { + "[u459143-sub1.your-storagebox.de]:23" = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIICf9svRenC/PLKIL9nk6K/pxQgoiFC41wTNvoIncOxs"; + }; + }; + services.restic.backups = let snapshotDir = "/srv/last_snapshot"; homeDir = "${snapshotDir}/home"; | 
