Arch Linux dotfiles and system setup using Ansible. (Will switch to NixOS once my setup broke 3 times)
-
Ensure
sudois available for the userpacman -S --noconfirm --needed sudoasroot/su
iwctl
station list # if required to find your wifi device
station wifi connect <your_wifi_ssid>
exit
curl -L https://raw.githubusercontent.com/antonkesy/dotfiles/main/arch_install_config.json -o arch_install_config.json
# setup all missing parts: partitioning & authentication
archinstall --config arch_install_config.json
# Manually set: Partitioning (+ HW Encryption), Root PW, User Accounts
# Reboot and login into new user
nmcli radio wifi on
nmcli device wifi list
nmcli device wifi connect "<SSID>" --ask
# some setups might assume position of dotfiles in ~/workspace
mkdir -p ~/workspace && cd ~/workspace
git clone --recursive https://github.com/antonkesy/dotfiles.git
cd dotfiles
make desktop
# wait some time
reboot
setup/manual/hyprpm.sh # requires hyprland to be runningmake dotfiles- Links only dotfilesmake base- Minimal setup (for example for WSL)make desktop- Full desktop setupmake switch-to-ssh- Switches https git repo to ssh for development
- Arch Linux
- Nvidia RTX 4070
- tmux + zsh
- LazyVim
- Hyprland
- Dank Linux
- Just login through Gnome session :)
If you get an libalpm.so error, its because there is a mismatch of versions of pacman and the AUR helper (yay/paru/...):
yay: error while loading shared libraries: libalpm.so.XX: cannot open shared object file: No such file or directory
Just remove yay or paru and reinstall with make desktop for example.
sudo pacman -Rns yay
sudo rm -f /usr/bin/yay
Check last logs:
journalctl --user-unit=gcr-ssh-agent.service -f
Possible:
Permissions 0644 for '/home/ak/.ssh/X' are too open.
This private key will be ignored.
Just fix by
chmod 600 /home/ak/.ssh/X
make test