Test
This commit is contained in:
parent
2974e205f1
commit
a614e38903
1 changed files with 11 additions and 0 deletions
|
@ -24,5 +24,16 @@
|
|||
useOSProber = true;
|
||||
};
|
||||
|
||||
# Generic Tailscale configs are in /nixos/common/services/tailscale.nix
|
||||
# Set up the secrets file:
|
||||
sops.secrets.nixos-vm-01_tailscale_key = {
|
||||
owner = "root";
|
||||
sopsFile = ../../../secrets/tailscale.yaml;
|
||||
restartUnits = [
|
||||
"tailscaled.service"
|
||||
"tailscaled-autoconnect.service"
|
||||
];
|
||||
};
|
||||
services.tailscale.authKeyFile = "/run/secrets/nixos-vm-01_tailscale_key";
|
||||
networking.firewall.allowedTCPPorts = [ 22 ];
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue