Compare commits
2 commits
95ecff0f1c
...
72edbbb0b4
Author | SHA1 | Date | |
---|---|---|---|
![]() |
72edbbb0b4 | ||
![]() |
e924f78b06 |
2 changed files with 9 additions and 12 deletions
|
@ -36,16 +36,13 @@ in
|
||||||
enable = true;
|
enable = true;
|
||||||
openFirewall = true;
|
openFirewall = true;
|
||||||
useRoutingFeatures = "client";
|
useRoutingFeatures = "client";
|
||||||
authKeyFile = lib.mkIf (
|
# authKeyFile = lib.mkIf (
|
||||||
config ? age && config.age ? secrets && config.age.secrets ? headscale_auth
|
# config ? age && config.age ? secrets && config.age.secrets ? headscale_auth
|
||||||
) config.age.secrets.headscale_auth.path;
|
# ) config.age.secrets.headscale_auth.path;
|
||||||
# https://tailscale.com/kb/1241/tailscale-up
|
# https://tailscale.com/kb/1241/tailscale-up
|
||||||
extraUpFlags =
|
extraUpFlags =
|
||||||
[
|
(lib.optionals cfg.useHeadscale [
|
||||||
"--no-logs-support"
|
"--login-server=\"https://headscale.joshuabell.xyz\""
|
||||||
]
|
|
||||||
++ (lib.optionals cfg.useHeadscale [
|
|
||||||
"--login-server=https://headscale.joshuabell.xyz"
|
|
||||||
])
|
])
|
||||||
++ (lib.optionals cfg.enableExitNode [ "--advertise-exit-node" ]);
|
++ (lib.optionals cfg.enableExitNode [ "--advertise-exit-node" ]);
|
||||||
|
|
||||||
|
|
8
hosts/h001/flake.lock
generated
8
hosts/h001/flake.lock
generated
|
@ -32,11 +32,11 @@
|
||||||
"ragenix": "ragenix"
|
"ragenix": "ragenix"
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1745953767,
|
"lastModified": 1745954032,
|
||||||
"narHash": "sha256-77d+pGc6MeAx7xE5lVQ3hhZPw3cgXhdAYax79RDpjFI=",
|
"narHash": "sha256-E9sjXCLc9uvDbBhyi2oOEgtqcC8YRRLhTVr57fP6GoE=",
|
||||||
"ref": "refs/heads/master",
|
"ref": "refs/heads/master",
|
||||||
"rev": "9622f1c21448159914bea931c1440d7849abad39",
|
"rev": "95ecff0f1cb7b756ec76bd825c8e12b4388c3c14",
|
||||||
"revCount": 415,
|
"revCount": 417,
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "https://git.joshuabell.xyz/ringofstorms/dotfiles"
|
"url": "https://git.joshuabell.xyz/ringofstorms/dotfiles"
|
||||||
},
|
},
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue