remove morax add tailscale auth key

This commit is contained in:
waveringana 2025-06-21 06:48:45 -04:00
parent 24cb520aeb
commit 2ba4eea37f
12 changed files with 11 additions and 154 deletions

View file

@ -1,4 +1,4 @@
{ config, pkgs, ... }:
{ config, pkgs, lib, ... }:
{
# system packages + services
environment.systemPackages = with pkgs; [
@ -21,4 +21,6 @@
services.printing.enable = true;
services.tailscale.enable = true;
services.tailscale.useRoutingFeatures = "both";
services.tailscale.authKeyFile = lib.mkIf (config ? age && config.age ? secrets)
config.age.secrets."headscale-authkey".path;
}