2023-04-04 13:05:39 +00:00
|
|
|
{ pkgs, config, ... }:
|
2022-07-31 12:03:27 +00:00
|
|
|
|
|
|
|
{
|
|
|
|
environment.systemPackages = [ pkgs.tailscale ];
|
|
|
|
|
2023-09-21 19:38:44 +00:00
|
|
|
services.tailscale = {
|
|
|
|
enable = true;
|
|
|
|
authKeyFile = config.age.secrets.tailscale-authkey.path;
|
2022-07-31 12:03:27 +00:00
|
|
|
|
2023-09-21 19:38:44 +00:00
|
|
|
extraUpFlags = [
|
2024-05-25 13:47:17 +00:00
|
|
|
"--stateful-filtering"
|
2023-09-21 19:38:44 +00:00
|
|
|
];
|
2022-07-31 12:03:27 +00:00
|
|
|
};
|
|
|
|
}
|