Fix /boot mounting and add notice for other keyboard layouts (#230)

* NixOS: add "X-mount.mkdir" mount option, fix unmounted /boot

Signed-off-by: Maurice Zhou <jasper@apvc.uk>

* add tips for keyboard layout support, closes #211

Signed-off-by: Maurice Zhou <jasper@apvc.uk>
This commit is contained in:
ne9z
2021-11-21 15:52:03 +01:00
committed by GitHub
parent 30c7752fe4
commit 862c355d4e
2 changed files with 5 additions and 1 deletions

View File

@@ -39,6 +39,10 @@ System Configuration
HOOKS=(base udev autodetect modconf block keyboard zfs filesystems) HOOKS=(base udev autodetect modconf block keyboard zfs filesystems)
EOF EOF
For more information on mkinitcpio configuration,
such as support for other keyboard layouts, see
`wiki article <https://wiki.archlinux.org/title/mkinitcpio>`__.
#. Enable DHCP on all ethernet ports:: #. Enable DHCP on all ethernet ports::
tee /mnt/etc/systemd/network/20-default.network <<EOF tee /mnt/etc/systemd/network/20-default.network <<EOF

View File

@@ -275,7 +275,7 @@ System Configuration
ZFS datasets should be mounted with ``-o zfsutil`` option:: ZFS datasets should be mounted with ``-o zfsutil`` option::
sed -i 's|fsType = "zfs";|fsType = "zfs"; options = [ "zfsutil" ];|g' \ sed -i 's|fsType = "zfs";|fsType = "zfs"; options = [ "zfsutil" "X-mount.mkdir" ];|g' \
/mnt/etc/nixos/hardware-configuration-zfs.nix /mnt/etc/nixos/hardware-configuration-zfs.nix
Allow EFI system partition mounting to fail at boot:: Allow EFI system partition mounting to fail at boot::