summaryrefslogtreecommitdiff
path: root/config/storage.nix
diff options
context:
space:
mode:
authorquentin@aristote.fr <quentin@aristote.fr>2025-07-06 15:27:57 +0200
committerquentin@aristote.fr <quentin@aristote.fr>2025-07-06 15:29:06 +0200
commit7503b64fef58eb9adaa2562c5b6639fe00d7aad3 (patch)
treed250ed9d47e1c6eb345966f9dc5658496bf7aefd /config/storage.nix
parente75e16c747208df69b8db16e7f59f9cb04ba4046 (diff)
nfs: switch to restic backup
Diffstat (limited to 'config/storage.nix')
-rw-r--r--config/storage.nix6
1 files changed, 2 insertions, 4 deletions
diff --git a/config/storage.nix b/config/storage.nix
index a1461b1..ecb2dc1 100644
--- a/config/storage.nix
+++ b/config/storage.nix
@@ -1,6 +1,6 @@
{...}: {
boot.supportedFilesystems = ["nfs"];
- fileSystems."/data" = {
+ fileSystems."/backups" = {
device = "ds411.aristote.mesh:/volume2/hephaistos";
fsType = "nfs";
options = [
@@ -9,10 +9,8 @@
"noauto"
# sleeping
"x-systemd.idle-timeout=600"
- # caching
- "fsc"
];
};
- services.cachefilesd.enable = true;
+ services.restic.backups = {};
}