configure zfs auto-snapshot
This commit is contained in:
parent
86b40990b6
commit
094b98351a
1 changed files with 1 additions and 5 deletions
|
@ -43,7 +43,6 @@ in
|
|||
content = {
|
||||
type = "luks";
|
||||
name = "root";
|
||||
#keyFile = "/root/password"; # keyFile contains the key for encryption, not the passphrase to unlock the key
|
||||
content = {
|
||||
type = "zfs";
|
||||
pool = "zroot";
|
||||
|
@ -68,7 +67,6 @@ in
|
|||
content = {
|
||||
type = "luks";
|
||||
name = "raid_${name}";
|
||||
#keyFile = "/root/password"; # keyFile contains the key for encryption, not the passphrase to unlock the key
|
||||
content = {
|
||||
type = "zfs";
|
||||
pool = "zraid";
|
||||
|
@ -101,9 +99,7 @@ in
|
|||
};
|
||||
};
|
||||
|
||||
# use boot.zfs.extraPools = [ "zraid" ] to mount this pool during boot time.
|
||||
# or `zpool import -f zraid` once on the first boot and reboot
|
||||
# you have to run `zpool import -f zraid` every time you rename your networking.{hostname,hostId}
|
||||
# `zpool import -f zraid` once on the first boot and reboot
|
||||
zraid = {
|
||||
type = "zpool";
|
||||
mode = "raidz2";
|
||||
|
|
Loading…
Reference in a new issue