mirror of
https://github.com/donovanglover/nix-config.git
synced 2024-12-12 18:01:23 +01:00
4e81aab657
This helps separate the installation process from the other scripts that are usually ran after a reboot, although this may change in the future if chroot is preferred over executing the commands later.
24 lines
629 B
Bash
24 lines
629 B
Bash
#!/bin/sh
|
|
#
|
|
# Set the language to English and use the en_US.UTF-8 locale.
|
|
# Then, generate it.
|
|
#
|
|
# Next, explicitly set the keymap to US.
|
|
#
|
|
# Note that we also change the terminal font to a bigger one
|
|
# (terminus-font) since this setting also uses vconsole.conf.
|
|
# Use `latarcyrheb-sun32` if you want to use the default
|
|
# terminal font instead.
|
|
#
|
|
# https://wiki.archlinux.org/index.php/Installation_guide
|
|
|
|
set -xe
|
|
|
|
echo "LANG=en_US.UTF-8" > /mnt/etc/locale.conf
|
|
echo "en_US.UTF-8 UTF-8" > /mnt/etc/locale.gen
|
|
|
|
arch-chroot /mnt locale-gen
|
|
|
|
echo "KEYMAP=us" > /mnt/etc/vconsole.conf
|
|
echo "FONT=ter-132n" >> /mnt/etc/vconsole.conf
|