fix: reenable tailcale on colmena nodes

Signed-off-by: Lander Van den Bulcke <landervandenbulcke@gmail.com>
This commit is contained in:
Lander Van den Bulcke 2025-09-21 00:52:10 +02:00
parent 16ffe4e125
commit 6340657086
Signed by: lander
GPG key ID: 0142722B4B0C536F
3 changed files with 80 additions and 0 deletions

View file

@ -1,4 +1,5 @@
{
config,
lib,
modulesPath,
pkgs,
@ -50,6 +51,21 @@
'';
};
sops.secrets.tailscale-authkey = {
owner = "root";
group = "root";
sopsFile = ./common.yaml;
};
services.tailscale = {
enable = true;
openFirewall = false;
extraUpFlags = [
"--login-server=https://headscale.escapeangle.com"
];
authKeyFile = config.sops.secrets.tailscale-authkey.path;
};
programs.zsh.enable = true;
environment.pathsToLink = [ "/share/zsh" ];
environment.shells = [ pkgs.zsh ];