Miscellaneous
Profile-sync-daemon
I haven't had much luck with this so far.
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
Virtual Machine
Check the hardware virtualization support
# the output should be > 0
grep -Ec '(vmx|svm)' /proc/cpuinfo
Make sure the virtualization is enabled in the BIOS
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