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:
@@ -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
|
||||||
|
|||||||
@@ -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::
|
||||||
|
|||||||
Reference in New Issue
Block a user