fix tailscale auth
This commit is contained in:
parent
4c609647b8
commit
d40ca09a49
2 changed files with 5 additions and 5 deletions
|
@ -105,12 +105,12 @@ in
|
||||||
# HOME SERVERS
|
# HOME SERVERS
|
||||||
"h001" = {
|
"h001" = {
|
||||||
identityFile = age.secrets.nix2h001.path;
|
identityFile = age.secrets.nix2h001.path;
|
||||||
user = "root";
|
user = "luser";
|
||||||
};
|
};
|
||||||
"h001_" = {
|
"h001_" = {
|
||||||
identityFile = age.secrets.nix2h001.path;
|
identityFile = age.secrets.nix2h001.path;
|
||||||
hostname = "10.12.14.2";
|
hostname = "10.12.14.2";
|
||||||
user = "root";
|
user = "luser";
|
||||||
};
|
};
|
||||||
"h002" = {
|
"h002" = {
|
||||||
identityFile = age.secrets.nix2h002.path;
|
identityFile = age.secrets.nix2h002.path;
|
||||||
|
|
|
@ -36,9 +36,9 @@ 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 [
|
(lib.optionals cfg.useHeadscale [
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue