new zfs filesystem and snapshots registered

This commit is contained in:
Steffen Illium
2025-07-29 17:04:05 +02:00
parent c9a7eddc17
commit e2e5afff81
+7 -5
View File
@@ -5,7 +5,7 @@
# boot.zfs.enableUnstable = true; # boot.zfs.enableUnstable = true;
boot.zfs.forceImportRoot = false; boot.zfs.forceImportRoot = false;
# boot.zfs.extraPools = [ "DATA" ]; boot.zfs.extraPools = [ "DATA" ];
services.zfs.autoScrub.enable = true; services.zfs.autoScrub.enable = true;
# Enable and configure zrepl service # Enable and configure zrepl service
@@ -33,12 +33,14 @@
client_identities = [ "siredward" ]; client_identities = [ "siredward" ];
}; };
filesystems = { filesystems = {
"SERVICE/volumes" = true; "DATA/service/config<" = true;
"DATA/service/data<" = true;
"DATA/storage<" = true;
}; };
snapshotting = { snapshotting = {
type = "periodic"; type = "periodic";
prefix = "SN_"; prefix = "NN_";
interval = "1h"; interval = "2h";
}; };
}]; }];
}; };
@@ -46,4 +48,4 @@
# Enable the NFS server, which is managed by this module. # Enable the NFS server, which is managed by this module.
services.nfs.server.enable = true; services.nfs.server.enable = true;
} }