1.9 KiB
1.9 KiB
Cloning the repository
- Get the SSH key. Save the content of the
.ssh/id_rsa
file to~/.ssh/id_rsa
- Restrict the permissions for the file with
chmod 600 ~/.ssh/id_rsa
- Add the key to the agent:
eval $(ssh-agent -s) && \
ssh-add ~/.ssh/id_rsa
- Clone the repo with
git clone git@github.com:Jafner/dotfiles.git ~/Git/dotfiles
- Place the dotfiles where they need to be with
chmod +x install_dotfiles.sh && ./install_dotfiles.sh
Other Stuff
Autostart
- Set Spotify, PulseEffects, and Ferdi to start automatically.
chmod +x window_reposition.sh
- Run the window_reposition script at startup.
Tiling and corner-snapping
Using GNOME, disable all extensions. Install Tiling Assistant Set Windows and Screen Edges gaps to 12px.
Virtualization
Install libvirt
.
nano /etc/default/grub
and add amd_iommu=on iommu=pt
to the GRUB_CMDLINE_LINUX_DEFAULT
variable.
sudo grub-mkconfig -o /boot/grub/grub.cfg
to update the bootloader.
Install QEMU, KVM, libvirt, virtmanager. sudo pacman -S virt-manager qemu vde2 ebtables dnsmasq bridge-utils openbsd-netcat ovmf
Configure libvirtd
sudo sed -i 's/#unix_sock_group = "libvirt"/unix_sock_group = "libvirt"/' /etc/libvirt/libvirtd.conf && \
sudo sed -i 's/#unix_sock_rw_perms = "0770"/unix_sock_rw_perms = "0770"/' /etc/libvirt/libvirtd.conf && \
sudo bash -c 'echo "log_filters=\"1:qemu\"" >> /etc/libvirt/libvirtd.conf' && \
sudo bash -c 'echo "log_outputs=\"1:file:/var/log/libvirt/libvirtd.log\"" >> /etc/libvirt/libvirtd.conf' && \
sudo usermod -aG libvirt $USER && \
sudo systemctl enable libvirtd && \
sudo systemctl start libvirtd && \
sudo sed -i 's/#user = "root"/user = "joey"/' /etc/libvirt/qemu.conf && \
sudo sed -i 's/#group = "root"/group = "joey"/' /etc/libvirt/qemu.conf && \
sudo systemctl restart libvirtd