headscale-apt

Release Test

Unofficial Headscale repository (Debian/Ubuntu, amd64 only) that automatically updates itself when a new release is available.

Usage

  1. Install dependencies
    sudo apt update && \
    sudo apt install -y ca-certificates curl gnupg
    
  2. Add repository
    sudo install -m 0755 -d /etc/apt/keyrings && \
    curl -fsSL https://allddd.github.io/headscale-apt/headscale-apt.gpg | sudo gpg --dearmor -o /etc/apt/keyrings/headscale-apt.gpg && \
    sudo chmod 444 /etc/apt/keyrings/headscale-apt.gpg && \
    echo 'deb [arch=amd64 signed-by=/etc/apt/keyrings/headscale-apt.gpg] https://allddd.github.io/headscale-apt/ stable main' | sudo tee /etc/apt/sources.list.d/headscale-apt.list
    
  3. Install headscale
    sudo apt update && \
    sudo apt install -y headscale
    
  4. Configure unattended-upgrades (optional)
    sudo tee /etc/apt/apt.conf.d/98headscale-apt <<"EOF"
    Unattended-Upgrade::Origins-Pattern {
         "origin=allddd.github.io/headscale-apt";
    };
    EOF