misc: initial commit
This commit is contained in:
commit
964b99b28d
32 changed files with 1675 additions and 0 deletions
14
nixos/tailscale.nix
Normal file
14
nixos/tailscale.nix
Normal file
|
@ -0,0 +1,14 @@
|
|||
{
|
||||
config,
|
||||
lib,
|
||||
pkgs,
|
||||
...
|
||||
}: {
|
||||
services.tailscale = {
|
||||
enable = true;
|
||||
openFirewall = true;
|
||||
};
|
||||
|
||||
# Implicitly trust packets routed over Tailscale
|
||||
networking.firewall.trustedInterfaces = [config.services.tailscale.interfaceName];
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue