26 lines
614 B
Markdown
26 lines
614 B
Markdown
# Router
|
|
Yeah yeah I need to document this better.
|
|
|
|
# Setup
|
|
|
|
With a fresh Arch Linux system:
|
|
|
|
- Install base packages as from dotfiles (plus ones used below)
|
|
- Run `./link.fish` script
|
|
- Enable and restart the following services:
|
|
- `nftables`
|
|
- `systemd-sysctl`
|
|
- `systemd-resolved`
|
|
- `systemd-networkd`
|
|
- `dnsmasq`
|
|
- `dhcpcd`
|
|
- Run `mkinitcpio -p linux`
|
|
- Add any needed hosts to `/etc/hosts`
|
|
- May be use dnsmasq's `addn-hosts` directive and copy a file from this repo
|
|
- Reboot
|
|
|
|
# TODO:
|
|
|
|
- Script this whole thing? NixOS/declarative?
|
|
- `link.fish` could just write to these files instead of copying them?
|