mirror of
https://github.com/alyraffauf/nixcfg.git
synced 2024-11-23 14:29:56 -05:00
10 lines
230 B
Nix
10 lines
230 B
Nix
|
{config, ...}: {
|
||
|
age.secrets.tailscaleAuthKey.file = ../secrets/tailscale/authKeyFile.age;
|
||
|
|
||
|
services.tailscale = {
|
||
|
enable = true;
|
||
|
openFirewall = true;
|
||
|
authKeyFile = config.age.secrets.tailscaleAuthKey.path;
|
||
|
};
|
||
|
}
|