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"; type = "zpool";
inherit options rootFsOptions; inherit options rootFsOptions;
datasets = { datasets = {
snapshot = { snapshot.type = "zfs_fs";
type = "zfs_fs";
mountpoint = "/snapshot";
};
# Reserve space for performance # Reserve space for performance
reservation = { reservation = {
type = "zfs_fs"; type = "zfs_fs";

View file

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