mirror of
https://github.com/juanfont/headscale.git
synced 2026-07-17 16:36:02 +00:00
|
Some checks failed
Build / build-nix (push) Waiting to run
Build / build-cross (GOARCH=amd64 GOOS=darwin) (push) Waiting to run
Build / build-cross (GOARCH=amd64 GOOS=linux) (push) Waiting to run
Build / build-cross (GOARCH=arm64 GOOS=darwin) (push) Waiting to run
Build / build-cross (GOARCH=arm64 GOOS=linux) (push) Waiting to run
Check Generated Files / check-generated (push) Waiting to run
Build (main) / container (push) Waiting to run
Build (main) / binaries (amd64, darwin) (push) Waiting to run
Build (main) / binaries (amd64, linux) (push) Waiting to run
Build (main) / binaries (arm64, darwin) (push) Waiting to run
Build (main) / binaries (arm64, linux) (push) Waiting to run
NixOS Module Tests / nix-module-check (push) Waiting to run
Tests / test (push) Waiting to run
Deploy docs / deploy (push) Has been cancelled
|
||
|---|---|---|
| .. | ||
| tests | ||
| example-configuration.nix | ||
| module.nix | ||
| README.md | ||
Headscale NixOS Module
This directory contains the NixOS module for Headscale.
Rationale
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.
Files
module.nix- The NixOS module implementationexample-configuration.nix- Example configuration demonstrating all major featurestests/- NixOS integration tests
Usage
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.
Upstream
The module in this repository may be newer than the nixpkgs version.