mirror of
https://github.com/genebean/dots.git
synced 2026-03-27 01:17:42 -04:00
Reenable tailscale on nixnuc
This commit is contained in:
parent
637ae4f598
commit
fea8be8925
2 changed files with 19 additions and 4 deletions
|
|
@ -529,6 +529,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 = {
|
||||
|
|
@ -631,6 +643,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"];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue