This commit is contained in:
iFargle 2023-09-15 23:46:50 +09:00
parent 6dc593a3f7
commit 8e3ec13e96

View file

@ -37,7 +37,7 @@
# Generic Tailscale configs are in /nixos/common/services/tailscale.nix # Set up the secrets file for the token: # Generic Tailscale configs are in /nixos/common/services/tailscale.nix # Set up the secrets file for the token:
sops.secrets.nixos-rpi4-01_tailscale_key = { sops.secrets.nixos-rpi4-01_tailscale_key = {
owner = "root"; owner = "root";
sopsFile = ../../../secrets/secrets.yaml; sopsFile = ../../../secrets/tailscale.yaml;
restartUnits = [ "tailscaled.service" ]; restartUnits = [ "tailscaled.service" ];
}; };
services.tailscale.authKeyFile = "/run/secrets/nixos-rpi4-01_tailscale_key"; services.tailscale.authKeyFile = "/run/secrets/nixos-rpi4-01_tailscale_key";