Replace the NFS share for the restic repo with an SSD
This commit is contained in:
parent
102fe8f3ef
commit
1f3d357efb
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue