https://github.com/vncsmyrnk/arch-config
Useful information about arch config and utilities.
https://github.com/vncsmyrnk/arch-config
archlinux documentation
Last synced: 6 days ago
JSON representation
Useful information about arch config and utilities.
- Host: GitHub
- URL: https://github.com/vncsmyrnk/arch-config
- Owner: vncsmyrnk
- License: gpl-3.0
- Created: 2024-09-22T20:12:33.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2026-06-19T22:29:00.000Z (6 days ago)
- Last Synced: 2026-06-20T00:13:18.940Z (6 days ago)
- Topics: archlinux, documentation
- Language: Shell
- Homepage:
- Size: 68.4 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Arch
Useful information about arch config and utilities.
## Useful links
- [Wiki](https://wiki.archlinux.org/title/Main_page)
- [ISOs](https://archlinux.org/download/)
## Archinstall
```bash
curl -LO https://raw.githubusercontent.com/vncsmyrnk/arch/refs/heads/main/install.sh
chmod +x install.sh
MY_PASSWORD=password MY_ROOT_PASSWORD=root_password ./install.sh
```
## Encrypting partitions
[dm-crypt](https://wiki.archlinux.org/title/Dm-crypt/Encrypting_an_entire_system)
[GRUB Setup](https://bbs.archlinux.org/viewtopic.php?id=301301)
[Reencrypt a device](https://unix.stackexchange.com/questions/444931/is-there-a-way-to-encrypt-disk-without-formatting-it)
[GRUB regenerate the config file](https://wiki.archlinux.org/title/GRUB#Generate_the_main_configuration_file)
[Removing system encryption](https://wiki.archlinux.org/title/Removing_system_encryption)
## Installation caveats
### Networking
Reference: https://wiki.archlinux.org/title/Network_configuration
```bash
cat < /etc/systemd/network/20-wired.network
[Match]
Name=enp2s0
[Network]
DHCP=yes
EOF
```
```bash
cat "nameserver 8.8.8.8" > /etc/resolv.conf
sudo pacman -S networkmanager
sudo systemctl enable systemd-networkd
sudo systemctl start systemd-networkd
sudo systemctl enable NetworkManager
sudo systemctl start NetworkManager
```
```bash
ping 8.8.8.8 # for testing
```
### GPU Drivers
#### AMD
```bash
sudo pacman -S mesa xf86-video-amdgpu
```
#### NVIDIA
```bash
sudo pacman -S mesa nvidia-open
```
Make sure to also install `envycontrol` for switching between integrated and dedicated cards and `nvtop` to monitor GPU usage.
### Using system clipboard in vim
Vim is useful during the installation for running the commands one by one. Using the system clipboard in this scenario is very useful.
- Install `vim-gtk3`
- Set the clipboard inside vim: `set clipboard=unnamedplus`
### Increase archiso disk space
When needing space for installing packages on the archiso:
```sh
mount -o remount,size=1G /run/archiso/cow
```
## Best practices
### LTS kernel
Install `linux-lts` and `linux-lts-headers` alongside `linux` and `linux-headers`. The LTS kernel can be useful if some regression problem on kernel updates.
When using GRUB, regenerate the configuration file. This ensures the LTS kernel appears on "Advanced options" section.
## Applying configurations
```bash
just config
```