From 0439a07ce8c798fd86afc040205f6040aad4587b Mon Sep 17 00:00:00 2001 From: jasmine Date: Fri, 18 Oct 2024 09:00:41 +0800 Subject: [PATCH] update borgbase hosts --- nixos/viridian/services/borgbackup/borgbase_hosts | 3 +++ nixos/viridian/services/borgbackup/default.nix | 4 ++++ 2 files changed, 7 insertions(+) create mode 100644 nixos/viridian/services/borgbackup/borgbase_hosts diff --git a/nixos/viridian/services/borgbackup/borgbase_hosts b/nixos/viridian/services/borgbackup/borgbase_hosts new file mode 100644 index 0000000..7ea1edf --- /dev/null +++ b/nixos/viridian/services/borgbackup/borgbase_hosts @@ -0,0 +1,3 @@ +o93k24r6.repo.borgbase.com ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIMS3185JdDy7ffnr0nLWqVy8FaAQeVh1QYUSiNpW5ESq +o93k24r6.repo.borgbase.com ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCwHsO5g7kAEpqcK4bpHCUKYV1cKCUNwVEVsDQyfj7N8L92E21n+aEhIX2Nh/kFs1W9D/pgsWQBAbco9e/ORuagHrO8hUQtbda5Z31PAo4eipwP17VQr5rF3seaJJNFV72v89PGwMOWQwvoJte+yngC6PYGKJ+w63SRtflihAmf4xa5Tci/f6jbX6t32m2F3bnephVzQO6anGXvGPR8QYQXzSu/27+LaKnLd2Kugb1Ytbo0+6kioa60HWejIZ/mCrCHXYpi0jAllaYEuAsTqFWf/OFUHrKWwRAJD0TV43O1++vLlxY85oQxIgc4oUbm93dXmDBssrTnqqq2jqonteUr +o93k24r6.repo.borgbase.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBOstKfBbwVOYQh3J7X4nzd6/VYgLfaucP9z5n4cpSzcZAOKGh6jH8e1mhQ4YupthlsdPKyFFZ3pKo4mTaRRuiJo= diff --git a/nixos/viridian/services/borgbackup/default.nix b/nixos/viridian/services/borgbackup/default.nix index 6e8df36..e2212e6 100644 --- a/nixos/viridian/services/borgbackup/default.nix +++ b/nixos/viridian/services/borgbackup/default.nix @@ -36,4 +36,8 @@ compression = "auto,lzma"; startAt = "daily"; }; + + programs.ssh.knownHostsFiles = [ + ./borgbase_hosts + ]; }