Switch to using i_only_boot_zfs.
This commit is contained in:
@@ -17,7 +17,7 @@
|
||||
content = {
|
||||
type = "filesystem";
|
||||
format = "vfat";
|
||||
mountpoint = "/boot";
|
||||
mountpoint = "/efi";
|
||||
mountOptions = [
|
||||
"umask=0077"
|
||||
"noatime"
|
||||
@@ -76,6 +76,15 @@
|
||||
mountpoint = "/";
|
||||
postCreateHook = "zfs list -t snapshot -H -o name | grep -E '^zroot/linux/nix/root@blank$' || zfs snapshot zroot/linux/nix/root@blank";
|
||||
};
|
||||
# "linux/nix/boot" = {
|
||||
# type = "zfs_fs";
|
||||
# options = {
|
||||
# mountpoint = "legacy";
|
||||
# "org.zfsbootmenu:nixos" = "on";
|
||||
# };
|
||||
# mountpoint = "/";
|
||||
# postCreateHook = "zfs list -t snapshot -H -o name | grep -E '^zroot/linux/nix/boot@blank$' || zfs snapshot zroot/linux/nix/boot@blank";
|
||||
# };
|
||||
"linux/nix/nix" = {
|
||||
type = "zfs_fs";
|
||||
options.mountpoint = "legacy";
|
||||
@@ -120,6 +129,10 @@
|
||||
"noatime"
|
||||
"norelatime"
|
||||
];
|
||||
# fileSystems."/boot".options = [
|
||||
# "noatime"
|
||||
# "norelatime"
|
||||
# ];
|
||||
fileSystems."/nix".options = [
|
||||
"noatime"
|
||||
"norelatime"
|
||||
|
||||
Reference in New Issue
Block a user