1
0
Fork 0
archlinux/README.md

93 lines
3.8 KiB
Markdown

# Arch Linux
My custom Arch Linux configuration for the [MINIX NEO Z100-0dB][minix100].
## Blog post about this
Some background on the intention is available in my [blog post][post].
## Repository contents
```shell
$ tree -a -I .git -F
./
├── etc/
│   ├── default/
│   │   └── useradd # ZSH as default shell
│   ├── iwd/
│   │   └── main.conf # Fix IPV4 DHCP
│   └── pacman.d/
│   └── mirrorlist # Arch mirrors near me
├── generate_pkglist.sh*
├── generate_systemd_enabled.sh*
├── home/
│   └── oli/
│   ├── bin/
│   │   └── vnc.sh # VNC config explained above
│   ├── .config/
│   │   ├── fastfetch/
│   │   │   └── config.jsonc # Minimal fastfetch config
│   │   ├── fontconfig/
│   │   │   └── fonts.conf # Set default fonts for Sway/Wayland
│   │   ├── htop/
│   │   │   └── htoprc
│   │   ├── mako/
│   │   │   └── config # Notifications
│   │   ├── pipewire/
│   │   │   └── pipewire.conf # Audio
│   │   ├── sway/
│   │   │   ├── config # Sway
│   │   │   └── status.sh* # swaybar output
│   │   ├── swaylock/
│   │   │   └── config # Lock screen
│   │   └── wayvnc/
│   │   └── config
│   └── .local/
│   └── share/
│   └── fonts/
│   ├── BerkeleyMono[...]-BoldOblique.ttf # https://usgraphics.com
│   ├── BerkeleyMono[...]-Bold.ttf # https://usgraphics.com
│   ├── BerkeleyMono[...]-Oblique.ttf # https://usgraphics.com
│   └── BerkeleyMono[...]-Regular.ttf # https://usgraphics.com
├── pkglist.txt # List of installed packages
├── README.md
├── root/
│   └── aufii.sh* # Generates EFI boot stub
├── systemd_enabled.txt # List of enabled services (system-wide)
└── systemd_enabled_user.txt # List of enabled user services
```
## Installation
Follow the [official Installation guide][guide].
```shell
pacstrap -K /mnt base linux linux-firmware intel-ucode efibootmgr iwd neovim openssh git curl xfsprogs
```
- initramfs generation is needed `mkinitcpio -P`
- Use `root/aufii.sh` to generate/execute the [efibootmgr][efi] command
## Using it
### Fonts
Are managed by fontconfig.
### VNC
| Type | Name | Purpose | Details |
| ------- | -------- | -------------- | -------------------------------- |
| Package | `wayvnc` | VNC server | `~/.config/wayvnc/config` |
| File | SSH key | VNC encryption | `~/.config/wayvnc/rsa_key.pem\*` |
Packages:
- `wayvnc`. Running `~/bin/vnc.sh` allows to connect to an already
established sway session. On macOS, you can use the RealVNC client. Keys are
switched, Alt on Linux is Cmd on macOS.
[minix100]: https://www.minix.com.hk/products/minix-z100-0db-fanless-mini-pc
[guide]: https://wiki.archlinux.org/title/Installation_guide
[efi]: https://wiki.archlinux.org/title/EFI_boot_stub
[post]: https://lugh.ch/i-use-arch-btw.html