remove "parts" directory and restructure modules
This commit is contained in:
parent
4b26b8da52
commit
f2cf7d36de
19 changed files with 77 additions and 117 deletions
11
modules/tailscale.nix
Normal file
11
modules/tailscale.nix
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
{ config, ... }:
|
||||
{
|
||||
networking.firewall = {
|
||||
trustedInterfaces = [ config.services.tailscale.interfaceName ];
|
||||
};
|
||||
|
||||
services.tailscale = {
|
||||
enable = true;
|
||||
openFirewall = true;
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue