diff options
Diffstat (limited to 'content')
| -rw-r--r-- | content/guide/artixinstall.md | 54 |
1 files changed, 31 insertions, 23 deletions
diff --git a/content/guide/artixinstall.md b/content/guide/artixinstall.md index 67c5364..a591f47 100644 --- a/content/guide/artixinstall.md +++ b/content/guide/artixinstall.md @@ -24,12 +24,16 @@ If you don't know what you are doing when installing Arch or Artix, I recommend ### Keymap +If the keymap is wrong, you can change it with the `loadkeys` command. + ```sh -loadkeys fr-latin1 +loadkeys fr ``` ### Connect to Wi-Fi +#### Connmanctl + You first have to unblock wifi and enable the wifi card. Replace `wlan0` with the name of your interface, list them with `ip a` ```sh @@ -54,6 +58,28 @@ connect id You can then exit connmanctl, try to ping some website to make sure you're connected to the internet. +#### NetworkManager + +To scan the networks around you : + +```sh +nmcli device wifi rescan +``` + +List them : + +```sh +nmcli device wifi list +``` + +Connect to one : + +```sh +nmcli device wifi connect SSID --ask +``` + +(SSID = the name of the Wi-Fi you want to connect to) + ## Setup your disk > The commands in this section will destroy all the data of your disk. @@ -118,7 +144,7 @@ I also chose to use `GRUB` for the bootloader and `runit` as my init system. Replace `neovim` with your favorite, terminal-based text editor. ```sh -basestrap /mnt linux linux-firmware sof-firmware base base-devel grub efibootmgr runit elogind-runit networkmanager-runit terminus-font git neovim +basestrap /mnt linux linux-firmware base base-devel grub efibootmgr runit elogind-runit networkmanager-runit git neovim ``` ### Fstab @@ -146,10 +172,10 @@ artix-chroot /mnt ```sh ln -sf /usr/share/zoneinfo/Europe/Paris /etc/localtime hwclock --systohc -echo 'fr_FR.UTF-8 UTF-8' >> /etc/locale.gen +echo 'en_US.UTF-8 UTF-8' >> /etc/locale.gen locale-gen -echo 'LANG=fr_FR.UTF-8' > /etc/locale.conf -echo -e 'KEYMAP=fr-latin1\nXKBLAYOUT=fr\nXKBMODEL=pc105\nXKBOPTIONS=terminate:ctrl_alt_bksp\nFONT=ter-132b' > /etc/vconsole.conf +echo 'LANG=en_US.UTF-8' > /etc/locale.conf +echo -e 'KEYMAP=fr-latin1\nXKBLAYOUT=fr\n' > /etc/vconsole.conf ``` ### Setup user and hostname @@ -284,24 +310,6 @@ sudo pacman -Syu You might want to uncomment the `Color` and `ParallelDownloads` lines in `/etc/pacman.conf` for a better `pacman` experience overall. -## Sound - -We want sound, you can use `pulseaudio` but I prefer `pipewire`. Install it : - -```sh -sudo pacman -S pipewire pipewire-pulse pipewire-alsa pipewire-jack sof-firmware wireplumber -``` - -Copy the config files : - -```sh -sudo cp /usr/share/pipewire/pipewire* /etc/pipewire/ -``` - -Then you must find a way to start `pipewire`, `pipewire-pulse` and `wireplumber` on each boot. - -I do it in my `hyprland.conf` with the `exec-once` statement - ## More ? For people that use runit : if an app you want to install doesn't come with a `*-runit` package (for example `pipewire`), you can easily write an init script like [zacoons for the `blocky` program](https://codeberg.org/zacoons/dots/src/branch/master/etc/runit/sv/blocky/run). |
