Tailscale Module
This commit is contained in:
parent
d9f99cd2f0
commit
2175608bf6
2 changed files with 12 additions and 0 deletions
|
@ -38,6 +38,7 @@
|
|||
mutableUsers = false;
|
||||
})
|
||||
(import ../../modules/ssh.nix)
|
||||
(import ../../modules/tailscale.nix)
|
||||
(import ./containers/conduit.nix)
|
||||
(import ./headscale.nix)
|
||||
];
|
||||
|
|
11
nixos/modules/tailscale.nix
Normal file
11
nixos/modules/tailscale.nix
Normal file
|
@ -0,0 +1,11 @@
|
|||
{inputs}: {
|
||||
config,
|
||||
lib,
|
||||
pkgs,
|
||||
...
|
||||
}: {
|
||||
services.tailscale = {
|
||||
enable = true;
|
||||
};
|
||||
networking.firewall.trustedInterfaces = ["tailscale0"];
|
||||
}
|
Loading…
Add table
Reference in a new issue