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";
|
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";
|
||||||
|
|
|
||||||
|
|
@ -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;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue