Fix zrepl
This commit is contained in:
parent
2e32793655
commit
770415d814
2 changed files with 8 additions and 5 deletions
|
|
@ -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";
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue