add age and test with tailscale

This commit is contained in:
2025-10-04 19:05:57 -05:00
parent e46f312b50
commit 43aae2945d
2 changed files with 12 additions and 1 deletions

View File

@@ -1,6 +1,14 @@
{ pkgs, config, lib, ... }:
{
age.secrets."tailscale_authkey" = {
file = ../../secrets/tailscale_authkey.txt.age;
owner = "blake";
group = "blake";
mode = "0400";
};
options = {
modules.system.tailscale.enable = lib.mkEnableOption "enables tailscale";
};
@@ -10,7 +18,7 @@
enable = true;
useRoutingFeatures = "both";
authKeyFile = "/home/blake/.nix/.keyring/tailscale/authkey";
authKeyFile = "/run/agenix/tailscale_authkey";
};
};
}