From 9dbfd5abd53460dc9a0ef94a6d43a029b801c7a0 Mon Sep 17 00:00:00 2001 From: Maurice Zhou Date: Fri, 3 Dec 2021 16:45:27 +0100 Subject: [PATCH] NixOS 21.11: always track the latest kernel compatible with ZFS Signed-off-by: Maurice Zhou --- .../NixOS/Root on ZFS/2-system-configuration.rst | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/docs/Getting Started/NixOS/Root on ZFS/2-system-configuration.rst b/docs/Getting Started/NixOS/Root on ZFS/2-system-configuration.rst index b8de87f..c5b30a5 100644 --- a/docs/Getting Started/NixOS/Root on ZFS/2-system-configuration.rst +++ b/docs/Getting Started/NixOS/Root on ZFS/2-system-configuration.rst @@ -273,6 +273,12 @@ System Configuration sed -i 's|fsType = "vfat";|fsType = "vfat"; options = [ "x-systemd.idle-timeout=1min" "x-systemd.automount" "noauto" ];|g' \ /mnt/etc/nixos/hardware-configuration-zfs.nix + Restrict kernel to versions supported by ZFS:: + + tee -a /mnt/etc/nixos/${INST_CONFIG_FILE} <