headscale-bin: Add -bin ebuild

Based on the gentoo headscale one, but using the official amd64
binary, as a lame workaround for the "improved" 0.17+ NIX buildsystem.

Signed-off-by: Stefan Knoblich <stkn@bitplumber.de>
This commit is contained in:
2022-12-08 12:26:22 +01:00
parent 3c5998fa4b
commit 481625a8c1
7 changed files with 154 additions and 0 deletions

View File

@@ -0,0 +1,13 @@
diff --git a/config-example.yaml b/config-example.yaml
index d3d155e..a070c22 100644
--- a/config-example.yaml
+++ b/config-example.yaml
@@ -208,7 +208,7 @@ dns_config:
# Unix socket used for the CLI to connect without authentication
# Note: for local development, you probably want to change this to:
# unix_socket: /var/run/headscale.sock
-unix_socket: ./headscale.sock
+unix_socket: /run/headscale/headscale.sock
unix_socket_permission: "0770"
#
# headscale supports experimental OpenID connect support,