This directory contains the NixOS module for Headscale.
The module is maintained in this repository to keep the code and module synchronized at the same commit. This allows faster iteration and ensures the module stays compatible with the latest Headscale changes. All changes should aim to be upstreamed to nixpkgs.
module.nix- The NixOS module implementationexample-configuration.nix- Example configuration demonstrating all major featurestests/- NixOS integration tests
Add to your flake inputs:
inputs.headscale.url = "github:juanfont/headscale";Then import the module:
imports = [ inputs.headscale.nixosModules.default ];See example-configuration.nix for configuration
options.
The module in this repository may be newer than the nixpkgs version.