Enable /boot partition.

This commit is contained in:
Tom Alexander
2025-11-15 20:05:02 -05:00
parent f13689e2c1
commit 09e36de78e
3 changed files with 22 additions and 19 deletions

View File

@@ -26,15 +26,15 @@
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;
arch = "kabylake";
# arch = "kabylake";
# build_arch = "x86-64-v3";
system_features = [
"gccarch-kabylake"
# "gccarch-kabylake"
"gccarch-x86-64-v3"
"benchmark"
"big-parallel"

View File

@@ -76,15 +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/boot" = {
type = "zfs_fs";
options = {
mountpoint = "legacy";
"org.zfsbootmenu:nixos" = "on";
};
mountpoint = "/boot";
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";
@@ -129,10 +129,10 @@
"noatime"
"norelatime"
];
# fileSystems."/boot".options = [
# "noatime"
# "norelatime"
# ];
fileSystems."/boot".options = [
"noatime"
"norelatime"
];
fileSystems."/nix".options = [
"noatime"
"norelatime"