Skip to content

Commit 4112ebe

Browse files
authored
Allow null tailscaleAuthKeyFile (#165)
Since systemd service handles optional tailscaleAuthKeyFile, allow for optional declaration in the module. Signed-off-by: Marin <[email protected]>
1 parent a421a4e commit 4112ebe

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

Diff for: flake.nix

+7-2
Original file line numberDiff line numberDiff line change
@@ -94,8 +94,13 @@
9494
};
9595

9696
tailscaleAuthKeyFile = mkOption {
97-
type = types.path;
98-
description = "Path to file containing the Tailscale Auth Key";
97+
type = types.nullOr types.path;
98+
default = null;
99+
description = ''
100+
Path to the file containing the Tailscale Auth Key.
101+
If null, manual authorization with the tailnet is required.
102+
Check `journalctl -eu golink` for the login link.
103+
'';
99104
};
100105

101106
verbose = mkOption {

0 commit comments

Comments
 (0)