2024-03-15 16:13:37 +01:00
|
|
|
# dotfiles
|
|
|
|
|
|
|
|
This is my ArchLinux configuration.
|
|
|
|
Tested on Acer Travelmate X349-G2-M and Lenovo Thinkpad E14 G5.
|
2024-03-15 22:17:47 +01:00
|
|
|
First one was a Intel machine, the current one a AMD machine, hence the changes
|
|
|
|
towards AMD graphics.
|
2024-03-15 16:13:37 +01:00
|
|
|
|
|
|
|
## Install dependencies
|
2024-03-15 16:02:52 +01:00
|
|
|
|
|
|
|
```bash
|
2024-03-25 11:32:28 +01:00
|
|
|
# System
|
|
|
|
paru -S linux-headers wget \
|
2024-07-22 18:57:25 +02:00
|
|
|
btrfs-progs udiskie blueman openssh lshw less dmidecode
|
2024-03-25 11:32:28 +01:00
|
|
|
|
2024-07-22 18:57:25 +02:00
|
|
|
## Audio
|
2024-04-13 20:21:12 +02:00
|
|
|
paru -S alsa-utils pulseaudio pulseaudio-alsa pulseaudio-bluetooth pavucontrol bluez-utils
|
2024-03-25 11:32:28 +01:00
|
|
|
|
|
|
|
## Network
|
|
|
|
paru -S bind systemd-resolvconf networkmanager
|
|
|
|
|
|
|
|
# Dotfiles
|
|
|
|
paru -S python-pillow i3lock-color stow playerctl xdotoolxsel feh \
|
|
|
|
conky maim picom dust dunst rofi neofetch
|
|
|
|
|
|
|
|
# Notebook
|
|
|
|
paru -S acpi acpid tlp
|
|
|
|
|
|
|
|
# DevTools
|
2024-04-13 20:21:12 +02:00
|
|
|
paru -S delta-git cargo-bloat npm bacon nvim git cargo-flamegraph tealdeer
|
2024-03-25 11:32:28 +01:00
|
|
|
|
|
|
|
# CPU/GPU
|
|
|
|
paru -S lib32-libva-mesa-driver lib32-mesa-vdpau mesa-vdpau nvtop \
|
2024-07-22 18:57:25 +02:00
|
|
|
xf86-video-amdgpu lib32-mesa libva-mesa-driver amd-ucode
|
2024-03-25 11:32:28 +01:00
|
|
|
|
|
|
|
# X11
|
|
|
|
paru -S xorg-server i3-gaps xorg-xbacklight xorg-xrandr xclip \
|
2024-07-22 18:57:25 +02:00
|
|
|
lxappearance lightdm-webkit2-greeter lightdm
|
2024-03-25 11:32:28 +01:00
|
|
|
|
|
|
|
# Terminal
|
2024-07-22 18:57:25 +02:00
|
|
|
pacman -S bottom zellij eza bat fd ripgrep zsh
|
2024-03-25 11:32:28 +01:00
|
|
|
|
|
|
|
# Tools
|
|
|
|
## Productivity
|
|
|
|
### Browsers
|
2024-07-22 18:57:25 +02:00
|
|
|
paru -S firefox chromium
|
2024-03-25 11:32:28 +01:00
|
|
|
### File Browser
|
|
|
|
paru -S ranger pcmanfm
|
|
|
|
### Printer
|
2024-04-13 20:21:12 +02:00
|
|
|
paru -S brotherconfig4 simple-scan tesseract-data-eng cups brlaser
|
2024-03-25 11:32:28 +01:00
|
|
|
### Typesetting
|
2024-04-13 20:21:12 +02:00
|
|
|
paru -S adobe-source-han-sans-jp-fonts pandoc-cli texlive-latexextra \
|
|
|
|
texlive-basic texlive-latex biber adobe-source-han-sans-kr-fonts \
|
|
|
|
texlive-fontsrecommended texlive-bibtexextra texlive-latexrecommended texlive-binextra \
|
|
|
|
texlive-langgerman texlive-fontsextra texlive-science texlive-plaingeneric
|
|
|
|
|
2024-03-25 11:32:28 +01:00
|
|
|
### Misc
|
|
|
|
paru -S p7zip veracrypt keepassxc syncthing vlc unzip zathura zathura-pdf-mupdf
|
|
|
|
|
|
|
|
## Troubleshooting
|
2024-04-13 20:21:12 +02:00
|
|
|
paru -S nmap smartmontools ldns traceroute
|
2024-03-25 11:32:28 +01:00
|
|
|
|
|
|
|
## Networking
|
2024-07-22 18:57:25 +02:00
|
|
|
paru -S tailscale wireshark-qt wireguard-tools ethtool iperf3
|
2024-03-25 11:32:28 +01:00
|
|
|
|
|
|
|
## obs-studio
|
|
|
|
paru -S obs-studio v4l2loopback-dkms
|
|
|
|
|
|
|
|
## Docker
|
|
|
|
paru -S docker docker-compose docker-buildx
|
2024-03-15 16:13:37 +01:00
|
|
|
```
|
|
|
|
|
|
|
|
## Picture
|
|
|
|
|
|
|
|
[[./resources/24-03-15_16-06-52-alacritty.png]]
|
|
|
|
|
2024-03-15 22:17:47 +01:00
|
|
|
## Permissions
|
|
|
|
|
2024-03-22 13:26:13 +01:00
|
|
|
### sudo
|
|
|
|
|
|
|
|
```sh
|
|
|
|
echo "%$SUDOGRP ALL=(ALL) ALL" >> /etc/sudoers
|
|
|
|
```
|
|
|
|
|
|
|
|
### Groups
|
|
|
|
|
2024-03-15 22:17:47 +01:00
|
|
|
```sh
|
|
|
|
usermod -a -G network $USER
|
|
|
|
usermod -a -G video $USER
|
2024-03-22 13:26:13 +01:00
|
|
|
usermod -a -G docker $USER
|
2024-03-15 22:17:47 +01:00
|
|
|
usermod -a -G $SUDOGRP $USER
|
|
|
|
```
|
|
|
|
|
2024-03-15 16:13:37 +01:00
|
|
|
## Get Started
|
|
|
|
|
|
|
|
```sh
|
|
|
|
git clone https://git.tudattr.dev/tudattr/dotfiles .dotfiles
|
|
|
|
cd .dotfiles
|
|
|
|
stow config
|
|
|
|
stow vim
|
|
|
|
stow zsh
|
2024-03-15 16:02:52 +01:00
|
|
|
```
|
2024-03-15 22:17:47 +01:00
|
|
|
|
|
|
|
## GUI
|
|
|
|
|
|
|
|
I'm using pcmanfm with [[Sweet - New Flavor](https://www.gnome-look.org/p/1253385/)].
|
|
|
|
The downloaded file needs to be extracted into `~/.themes/`.
|
|
|
|
The Icons are from the related icon set: [[Candy Icons](https://www.gnome-look.org/p/1305251)].
|
2024-03-17 21:17:46 +01:00
|
|
|
|
|
|
|
## ohmyzsh
|
|
|
|
|
|
|
|
Plugins for ohmyzsh
|
|
|
|
|
|
|
|
### eza
|
|
|
|
|
|
|
|
```sh
|
|
|
|
git clone https://github.com/z-shell/zsh-eza ~/.oh-my-zsh/custom/plugins/zsh-eza
|
|
|
|
```
|
|
|
|
|
|
|
|
## Environment
|
|
|
|
|
|
|
|
Add
|
|
|
|
|
|
|
|
```sh
|
|
|
|
VISUAL=/usr/bin/nvim
|
|
|
|
EDITOR=/usr/bin/nvim
|
|
|
|
```
|
|
|
|
|
|
|
|
to `/etc/environment`.
|
2024-03-22 13:26:13 +01:00
|
|
|
|
2024-07-22 18:57:25 +02:00
|
|
|
## NeoVim
|
|
|
|
|
|
|
|
Since we're using NeoVim, we wanna be lazy and have our configuration done for us.
|
|
|
|
I'm using lazyvim with the following plugins:
|
|
|
|
|
|
|
|
- bufferline.nvim
|
|
|
|
- dashboard-nvim
|
|
|
|
- flash.nvim
|
|
|
|
- lazy.nvim
|
|
|
|
- LazyVim
|
|
|
|
- lualine.nvim
|
|
|
|
- mini.ai
|
|
|
|
- mini.pairs
|
|
|
|
- noice.nvim
|
|
|
|
- nui.nvim
|
|
|
|
- nvim-notify
|
|
|
|
- nvim-treesitter
|
|
|
|
- nvim-treesitter-textobjects
|
|
|
|
- onedark.vim
|
|
|
|
- trouble.nvim
|
|
|
|
- ts-comments.nvim
|
|
|
|
- vim-ledger 0.25ms start
|
|
|
|
- vimtex 0.24ms start
|
|
|
|
- which-key.nvim
|
|
|
|
- yanky.nvim
|
|
|
|
|
|
|
|
We need run nvim as sudo at least once, to startup the process of enabling to download
|
|
|
|
additional language dictionaries.
|
|
|
|
We can able it with `:setlocal spell spelllang=en_us,de_de`.
|
|
|
|
|
2024-03-22 13:26:13 +01:00
|
|
|
## Systemd
|
|
|
|
|
|
|
|
Enable:
|
|
|
|
|
|
|
|
- tlp
|
|
|
|
- acpid
|
2024-03-25 11:32:28 +01:00
|
|
|
- NetworkManager
|
2024-04-13 20:21:12 +02:00
|
|
|
- cups
|
2024-03-22 13:26:13 +01:00
|
|
|
|
2024-04-13 20:21:12 +02:00
|
|
|
## Printer/Scanner MFC-L2710DW
|
2024-03-22 13:26:13 +01:00
|
|
|
|
|
|
|
I notice this is becoming more of a documentation on how to set my own laptop,
|
|
|
|
but...
|
2024-04-13 20:21:12 +02:00
|
|
|
¯\\_(ツ)_/¯
|
|
|
|
|
|
|
|
### Scanning
|
2024-03-22 13:26:13 +01:00
|
|
|
|
|
|
|
```sh
|
|
|
|
sudo brsaneconfig4 -a name=MFC-L2710DW model=MFC-L2710DW nodename=192.168.50.219
|
|
|
|
```
|
2024-03-25 11:32:28 +01:00
|
|
|
|
2024-04-13 20:21:12 +02:00
|
|
|
### Printing
|
|
|
|
|
|
|
|
You can add the printer via cups web gui on [http://localhost:631](http://localhost:631)
|
|
|
|
with the link [http://192.168.50.219](http://192.168.50.219).
|
|
|
|
|
2024-03-25 11:32:28 +01:00
|
|
|
## Networking
|
|
|
|
|
|
|
|
### eduroam
|
|
|
|
|
|
|
|
Have to install networkmanager specifically for eduroam. Otherwise I'd stick to
|
|
|
|
systemd-networkd.
|
|
|
|
|
|
|
|
## obs-studio
|
|
|
|
|
|
|
|
Need to run the following manually
|
|
|
|
|
|
|
|
```sh
|
|
|
|
sudo modprobe v4l2loopback
|
|
|
|
```
|