Switch to using i_only_boot_zfs.
This commit is contained in:
parent
f27aae960f
commit
57b83f7175
@ -26,8 +26,8 @@
|
||||
me.mountPersistence = true;
|
||||
|
||||
# Toggle to start writing the extlinux config which will be used by zfsbootmenu
|
||||
# boot.loader.generic-extlinux-compatible.enable = true;
|
||||
# boot.loader.systemd-boot.enable = lib.mkForce false;
|
||||
boot.loader.generic-extlinux-compatible.enable = true;
|
||||
boot.loader.systemd-boot.enable = lib.mkForce false;
|
||||
|
||||
me.optimizations = {
|
||||
# enable = true;
|
||||
|
||||
@ -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"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user