SSL configurations to support self-signed certificates on all of my machines.
Tailscale, headscale and SSL modules. sops-nix secrets management.
This commit is contained in:
parent
8f0ad96a62
commit
081d1fa6e1
17 changed files with 267 additions and 29 deletions
25
modules/headscale.nix
Normal file
25
modules/headscale.nix
Normal file
|
|
@ -0,0 +1,25 @@
|
|||
{
|
||||
services.headscale = {
|
||||
enable = true;
|
||||
address = "0.0.0.0";
|
||||
port = 8080;
|
||||
settings = {
|
||||
server_url = "http://0.0.0.0:8080";
|
||||
dns.magic_dns = false;
|
||||
dns.override_local_dns = false;
|
||||
};
|
||||
};
|
||||
|
||||
networking.firewall = {
|
||||
allowedTCPPorts = [
|
||||
80
|
||||
443
|
||||
8080
|
||||
# 9090
|
||||
50443
|
||||
];
|
||||
allowedUDPPorts = [
|
||||
3478
|
||||
];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue