Miscellaneous
Profile-sync-daemon
I've tried it twice, and Firefox became very unstable.
Edit the sudoers adding the necessary rights to the end of the file
EDITOR=nvim sudo visudo
lpnh ALL=(ALL) NOPASSWD: /usr/bin/psd-overlay-helper
Check psd current status
psd preview
Enable the psd service
systemctl --user enable psd.service
NetworkManager
Wi-Fi Connection
Get the list of available Wi-Fi networks
nmcli device wifi list
Connect to a Wi-Fi
nmcli device wifi connect <SSID_or_BSSID> password <password>
Update the DNS
Get the list of the current active profiles
nmcli connection show --active
Check the current DNS values
nmcli connection show 'NAME' | rg dns
Update the DNS
nmcli connection modify 'NAME' ipv4.dns "8.8.8.8 1.1.1.1"
Reconnect
nmcli connection down 'NAME'
nmcli connection up 'NAME'
Rust
Toolchains
Install the nightly
channel
rustup toolchain install nightly
Check the installed toolchains
rustup toolchain list
Targets
Include support for the Wasm
target
rustup target add wasm32-unknown-unknown
Check the installed targets
rustup target list --installed
rEFInd
- Install rEFInd
refind-install
- Create the themes directory for refind
cd /efi/EFI/refind
- On refind installation path, clone the catppuccin repo inside a themes directory
mkdir themes && cd themes
git clone https://github.com/catppuccin/refind.git catppuccin
- Edit the mocha.conf file, commenting the last line
nano catppuccin/mocha.conf
#showtools hidden_tags
For some reason the rEFInd showtools variable is not working properly for me anymore, this is why I have to comment this line on catppucin's mocha file
- Edit the refind.conf, making sure to add a new menuentry for the systemd-boot and also including the mocha.conf file
nano ../refind.conf
timeout 5
[...]
menuentry "Arch Linux" {
icon /EFI/refind/themes/catppuccin/assets/mocha/icons/os_arch.png
volume "ARCHIE_ESP"
loader /EFI/systemd/systemd-bootx64.efi
}
include themes/catppuccin/mocha.conf
Virtual Machine
Check the hardware virtualization support
# the output should be > 0
grep -Ec '(vmx|svm)' /proc/cpuinfo
For AMD, look for the SVM option. For Intel, look for the VMX option
Install the necessary packages
sudo pacman -Syu virt-manager qemu-desktop dnsmasq iptables-nft
Enable the libvirtd service
sudo systemctl enable --now libvirtd.service
Add the user to the libvirt group
sudo usermod -aG libvirt $env.USER
Restart the service
systemctl restart libvirtd.service