Configure backup repo
This commit is contained in:
parent
05fd63988c
commit
f491ced9f5
2 changed files with 9 additions and 0 deletions
|
@ -146,6 +146,10 @@ in {
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
services = {
|
services = {
|
||||||
|
borgbackup.repos.hera = {
|
||||||
|
path = "/backup/hera-borg-repo";
|
||||||
|
authorizedKeys = pkgs.privateValue [] "backup-ssh-keys";
|
||||||
|
};
|
||||||
fwupd.enable = true;
|
fwupd.enable = true;
|
||||||
printing = {
|
printing = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
|
@ -26,6 +26,11 @@
|
||||||
fsType = "btrfs";
|
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";
|
boot.initrd.luks.devices."crypted-nixos".device = "/dev/disk/by-uuid/020fde09-f651-45a2-9c6a-9b060edf967d";
|
||||||
|
|
||||||
fileSystems."/nix" = {
|
fileSystems."/nix" = {
|
||||||
|
|
Loading…
Reference in a new issue