1
0

hosts/backup-4: add repo for krypton

This commit is contained in:
clerie 2023-04-18 20:39:35 +02:00
parent fcb15969e8
commit 6fdbd10054
2 changed files with 15 additions and 0 deletions

13
hosts/backup-4/backup.nix Normal file
View File

@ -0,0 +1,13 @@
{ ... }:
{
services.borgbackup.repos = {
krypton = {
authorizedKeys = [ "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABgQDV3GpgaDqgTlWX0//DQ7AedYo0sD4e37OHl4/OqU7C+YfIuzaC8+KRfugTQS4R8UBKuxFHJC867aHq2rxIfKzKFtmyVPT7ywbpgNW3FDugQZ5MdPo8eHV19jnaZ9jkhUpJmMzayW+hU0GxT1fEXzSaewJknY3afdTKAi3dM+7LAcxVa82qwwArNuH06wrthU9eyva2QWMeZ6aEzzZgSxxrLQZFIXRtA81JcFmjL1IwxepDyUsbTj31Wmvf4n6YI6wxY9QhKyS4bahlnQmW0CpKwX6lKtGRRMVilTZLKa0aR0z15ltPE5h1USUnxiyo5YVB+1QA8luCnQAzIeZODEc3um8AfH4Z83MqU802K8yRmjJUhkoezJwRjewJito3Pfc4TOC2pdo7Na9bb5omTz7jiTRDvQkysWSZGyd22Vsl48tVuRTve/VkhBZuqOwH9yqBz5rl2hG7GHOiHD40kjxq+fJW8vge1hdu1TEQK8ubn1Cod/GuvuWFMTAwagYrJs0= clerie@krypton" ];
path = "/mnt/backup-4/krypton";
};
};
# fix borgbackup primary grouping
users.users.borg.group = "borg";
}

View File

@ -5,6 +5,8 @@
[
./hardware-configuration.nix
../../configuration/proxmox-vm
./backup.nix
];
boot.loader.grub.enable = true;