all: Add tailscale module
This commit is contained in:
parent
d1b6d1de00
commit
44aabef391
10
modules/headscale.nix
Normal file
10
modules/headscale.nix
Normal file
|
@ -0,0 +1,10 @@
|
||||||
|
{config, ...}:
|
||||||
|
{
|
||||||
|
services.tailscale.enable = true;
|
||||||
|
|
||||||
|
networking.firewall = {
|
||||||
|
checkReversePath = "loose";
|
||||||
|
trustedInterfaces = [ "tailscale0" ];
|
||||||
|
allowedUDPPorts = [ config.services.tailscale.port ];
|
||||||
|
};
|
||||||
|
}
|
|
@ -22,6 +22,7 @@ in
|
||||||
../modules/udisks2.nix
|
../modules/udisks2.nix
|
||||||
../modules/samba.nix
|
../modules/samba.nix
|
||||||
../modules/gc.nix
|
../modules/gc.nix
|
||||||
|
../modules/headscale.nix
|
||||||
|
|
||||||
../secrets/remote-builder.nix
|
../secrets/remote-builder.nix
|
||||||
../users/fleaz.nix
|
../users/fleaz.nix
|
||||||
|
|
Loading…
Reference in a new issue