remove morax add tailscale auth key
This commit is contained in:
parent
24cb520aeb
commit
2ba4eea37f
12 changed files with 11 additions and 154 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue