Replace the NFS share for the restic repo with an SSD

This commit is contained in:
Andreas Zweili 2023-12-30 16:27:40 +01:00
parent 102fe8f3ef
commit 1f3d357efb
2 changed files with 5 additions and 6 deletions

View File

@ -28,11 +28,6 @@ in
restic
];
fileSystems."${cfg.repository}" = {
device = "10.7.89.108:restic-server";
fsType = "nfs";
options = [ "noatime" "hard" "nfsvers=4.0" ];
};
services.restic.server = {
enable = true;
dataDir = cfg.repository;

View File

@ -7,7 +7,11 @@
ip = "10.7.89.30";
};
};
fileSystems."/var/lib/restic-server" = {
device = "/dev/disk/by-label/backups";
fsType = "ext4";
options = [ "hard" ];
};
services = {
az-restic-server.enable = true;
};