Miscellaneous

Profile-sync-daemon

  • Generate the configuration file and check the current status:
psd preview
  • Edit the sudoers adding the necessary rights
sudo visudo
<username> ALL=(ALL) NOPASSWD: /usr/bin/psd-overlay-helper
  • Edit the psd.conf configuration file:
sudo nvim .config/psd/psd.conf
# Uncomment and set to "yes" to use overlayfs instead of a full copy to reduce
# the memory costs and to improve sync/unsync operations. Note that your kernel
# MUST have this module available in order to use this mode.
#
USE_OVERLAYFS="yes"
#
BROWSERS=(firefox)
  • 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'

Tlp

  • Enable the service:
systemctl enable tlp.service
  • Mask the rfkill:
systemctl mask systemd-rfkill.service
systemctl mask systemd-rfkill.socket

Virtual Machine

  • Check if virtualization is enabled:
grep -Ec '(vmx|svm)' /proc/cpuinfo
  • Install necessary packages:
sudo pacman -Syu virt-manager qemu-desktop dnsmasq iptables-nft
  • Enable libvirtd service:
sudo systemctl enable --now libvirtd.service
  • Adding the user to the libvirt group:
sudo usermod -aG libvirt $env.USER
  • Restarting the libvirtd service:
systemctl restart libvirtd.service