new zfs filesystem and snapshots registered

This commit is contained in:
2025-07-29 17:04:05 +02:00
parent c9a7eddc17
commit e2e5afff81

View File

@@ -5,7 +5,7 @@
# boot.zfs.enableUnstable = true;
boot.zfs.forceImportRoot = false;
# boot.zfs.extraPools = [ "DATA" ];
boot.zfs.extraPools = [ "DATA" ];
services.zfs.autoScrub.enable = true;
# Enable and configure zrepl service
@@ -33,12 +33,14 @@
client_identities = [ "siredward" ];
};
filesystems = {
"SERVICE/volumes" = true;
"DATA/service/config<" = true;
"DATA/service/data<" = true;
"DATA/storage<" = true;
};
snapshotting = {
type = "periodic";
prefix = "SN_";
interval = "1h";
prefix = "NN_";
interval = "2h";
};
}];
};
@@ -46,4 +48,4 @@
# Enable the NFS server, which is managed by this module.
services.nfs.server.enable = true;
}
}