Merge pull request #505 from genebean/tailscale

Reenable tailscale on nixnuc
This commit is contained in:
Gene Liverman 2025-03-22 22:10:03 -04:00 committed by GitHub
commit f8f9d538dc
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 19 additions and 4 deletions

View file

@ -528,6 +528,18 @@ in {
openDefaultPorts = true;
guiAddress = "0.0.0.0:8384";
};
tailscale = {
enable = true;
authKeyFile = config.sops.secrets.tailscale_key.path;
extraUpFlags = [
"--advertise-exit-node"
"--operator"
"${username}"
"--ssh"
"--advertise-routes=192.168.20.0/22"
];
useRoutingFeatures = "both";
};
telegraf = {
enable = true;
extraConfig = {
@ -630,6 +642,9 @@ in {
};
mealie.mode = "0444";
nextcloud_admin_pass.owner = config.users.users.nextcloud.name;
tailscale_key = {
restartUnits = [ "tailscaled-autoconnect.service" ];
};
uptimekuma_grafana_api_key = {
owner = config.users.users.prometheus.name;
restartUnits = ["prometheus.service"];