mirror of
https://github.com/juanfont/headscale.git
synced 2026-10-06 23:00:09 +09:00
nix: add a NixOS test kit for Tailscale clients
nixosModules.testkit makes a node a control server every client joins without trust setup; testkit-peer joins it with hs-join.
This commit is contained in:
committed by
Kristoffer Dalby
parent
35a90e0018
commit
200c2c01e8
@@ -25,8 +25,13 @@
|
||||
{
|
||||
# NixOS module
|
||||
nixosModules = rec {
|
||||
headscale = import ./nix/module.nix;
|
||||
# A path, so importing it twice (directly and via testkit) dedupes.
|
||||
headscale = ./nix/module.nix;
|
||||
default = headscale;
|
||||
# Control node for NixOS VM tests of Tailscale clients, and a peer
|
||||
# that joins it; nix/README.md.
|
||||
testkit = import ./nix/testkit.nix self;
|
||||
testkit-peer = ./nix/testkit-peer.nix;
|
||||
};
|
||||
|
||||
overlays.default =
|
||||
|
||||
Reference in New Issue
Block a user