====== Artix Linux Localization ======
Set the time zone:
ln -sf /usr/share/zoneinfo/Region/City /etc/localtime
Run hwclock to generate ''%%/etc/adjtime%%'':
hwclock --systohc
Note that this will default to UTC. If you use Windows and you want the time to be synchronized in both Artix and Windows.
\\
====== Localization ======
----
Install a text editor of your choice (let's use nano here) and edit /etc/locale.gen, uncommenting the locales you desire:
pacman -S nano
nano /etc/locale.gen
Generate your desired locales running:
locale-gen
To set the locale systemwide, create or edit ''%%/etc/locale.conf%%'' (which is sourced by /etc/profile) or /etc/bash/bashrc.d/artix.bashrc or /etc/bash/bashrc.d/local.bashrc; user-specific changes may be made to their respective ~/.bashrc, for example:
export LANG="en_US.UTF-8"
\\
====== Network configuration ======
----
Create the hostname file:
nano /etc/hostname
myhostname
Now add matching entries to hosts:
nano /etc/hosts
127.0.0.1 localhost
::1 localhost
127.0.1.1 myhostname.localdomain myhostname
If the system has a permanent IP address, it should be used instead of 127.0.1.1.
If you use OpenRC you should add your hostname to ''%%/etc/conf.d/hostname%%'' too with the command:
hostname='myhostname'
And install your prefered DHCP client
pacman -S dhcpcd conman
rc-update add connmand