1
0
Fork 0

Configure backup repo

This commit is contained in:
maralorn 2022-11-23 23:39:44 +01:00
parent 05fd63988c
commit f491ced9f5
2 changed files with 9 additions and 0 deletions

View file

@ -146,6 +146,10 @@ in {
];
};
services = {
borgbackup.repos.hera = {
path = "/backup/hera-borg-repo";
authorizedKeys = pkgs.privateValue [] "backup-ssh-keys";
};
fwupd.enable = true;
printing = {
enable = true;

View file

@ -26,6 +26,11 @@
fsType = "btrfs";
};
fileSystems."/backup" = {
device = "/dev/disk/by-uuid/41840034-81fe-4955-828d-8d3d4a7306f7";
fsType = "ext4";
};
boot.initrd.luks.devices."crypted-nixos".device = "/dev/disk/by-uuid/020fde09-f651-45a2-9c6a-9b060edf967d";
fileSystems."/nix" = {