summaryrefslogtreecommitdiff
path: root/modules/core
diff options
context:
space:
mode:
Diffstat (limited to 'modules/core')
-rw-r--r--modules/core/networking/vpn/tailscale.nix1
-rw-r--r--modules/core/security/sops.nix1
2 files changed, 2 insertions, 0 deletions
diff --git a/modules/core/networking/vpn/tailscale.nix b/modules/core/networking/vpn/tailscale.nix
index 06c5b50..0228915 100644
--- a/modules/core/networking/vpn/tailscale.nix
+++ b/modules/core/networking/vpn/tailscale.nix
@@ -17,6 +17,7 @@
tailscale = {
enable = true;
useRoutingFeatures = "both";
+ authKeyFile = config.sops.secrets.tailscale_authentication_key.path;
};
networkd-dispatcher = {
diff --git a/modules/core/security/sops.nix b/modules/core/security/sops.nix
index 8a68acf..c98a533 100644
--- a/modules/core/security/sops.nix
+++ b/modules/core/security/sops.nix
@@ -6,6 +6,7 @@
sops = {
gnupg.sshKeyPaths = [ ];
+ secrets.tailscale_authentication_key.sopsFile = ../../../secrets/hosts.yaml;
age = {
sshKeyPaths = [ ];