____   _   _      _      ____
 / ___| | \ | |    / \    |  _ \
| |  _  |  \| |   / _ \   | |_) |
| |_| | | |\  |  / ___ \  |  _ <
 \____| |_| \_| /_/   \_\ |_| \_\
        
    

GNAR is an opinionated home-server bootstrap for Arch Linux. One script turns a fresh install into a headless box for remote development over SSH.

It is intentionally heavy — a personal home-server bootstrap, not a minimal TTY distribution.

What you get

Requirements

A fresh Arch Linux install with a non-root user that has sudo access.

Installation

Git (Recommended)
git clone https://github.com/iammatthias/gnar.git
cd gnar
sudo ./scripts/setup.sh
Curl
curl -L https://github.com/iammatthias/gnar/archive/main.tar.gz | tar xz
cd gnar-main
sudo ./scripts/setup.sh
Wget
wget https://github.com/iammatthias/gnar/archive/main.tar.gz
tar xzf main.tar.gz
cd gnar-main
sudo ./scripts/setup.sh

Post-installation

sudo reboot                 # Reload group memberships, etc.
ssh user@your-server        # Reconnect
tmux                        # Tiling terminal
gnar-info                   # System information
gnar-help                   # Command reference
add-site myapp 3000         # Reverse-proxy a service through Caddy

The code-server password is generated at install time and printed once. It is also saved (mode 600) at ~/.config/code-server/config.yaml. Use vscode-password to print it later.

Uninstall

sudo ./scripts/uninstall.sh