Fix zrepl

This commit is contained in:
Invariantspace 2024-12-09 15:39:16 +00:00
parent 2e32793655
commit 770415d814
2 changed files with 8 additions and 5 deletions

View file

@ -100,10 +100,7 @@
type = "zpool";
inherit options rootFsOptions;
datasets = {
snapshot = {
type = "zfs_fs";
mountpoint = "/snapshot";
};
snapshot.type = "zfs_fs";
# Reserve space for performance
reservation = {
type = "zfs_fs";

View file

@ -3,7 +3,13 @@
lib,
...
}: {
boot.loader.grub.zfsSupport = true;
boot = {
loader.grub.zfsSupport = true;
zfs = {
extraPools = ["zarchive"];
requestEncryptionCredentials = ["zactive/main"];
};
};
services.zfs = {
autoScrub.enable = true;