fix: reenable tailcale on colmena nodes
Signed-off-by: Lander Van den Bulcke <landervandenbulcke@gmail.com>
This commit is contained in:
parent
16ffe4e125
commit
6340657086
3 changed files with 80 additions and 0 deletions
|
|
@ -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 ];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue