mirror of
https://github.com/lightly-toasted/nix-config.git
synced 2025-10-04 15:45:39 +00:00
feat: add vps host configurations
This commit is contained in:
parent
14fdc3875f
commit
d7179b75a8
12 changed files with 113 additions and 0 deletions
11
hosts/vps/modules/services/tailscale.nix
Normal file
11
hosts/vps/modules/services/tailscale.nix
Normal file
|
@ -0,0 +1,11 @@
|
|||
{ config, pkgs, ... }:
|
||||
|
||||
{
|
||||
sops.secrets."tailscale/authkey" = { };
|
||||
|
||||
services.tailscale = {
|
||||
enable = true;
|
||||
authKeyFile = config.sops.secrets."tailscale/authkey".path;
|
||||
useRoutingFeatures = "both";
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue