tailscale mod
This commit is contained in:
parent
d2b11ad2e2
commit
2059b854de
3 changed files with 9 additions and 14 deletions
|
@ -123,7 +123,7 @@
|
||||||
self.nixosModules.globalinstalls
|
self.nixosModules.globalinstalls
|
||||||
self.nixosModules.autoupdate
|
self.nixosModules.autoupdate
|
||||||
self.nixosModules.openssh
|
self.nixosModules.openssh
|
||||||
./modules/networking.nix
|
self.nixosModules.tailscale
|
||||||
./modules/nixpkgs.nix
|
./modules/nixpkgs.nix
|
||||||
|
|
||||||
{
|
{
|
||||||
|
|
|
@ -1,13 +0,0 @@
|
||||||
_: {
|
|
||||||
config = {
|
|
||||||
services.tailscale = {
|
|
||||||
enable = true;
|
|
||||||
openFirewall = true;
|
|
||||||
};
|
|
||||||
|
|
||||||
networking.firewall = {
|
|
||||||
enable = true;
|
|
||||||
checkReversePath = "loose";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
}
|
|
8
nixosModules/tailscale.nix
Normal file
8
nixosModules/tailscale.nix
Normal file
|
@ -0,0 +1,8 @@
|
||||||
|
{
|
||||||
|
services.tailscale = {
|
||||||
|
enable = true;
|
||||||
|
openFirewall = true;
|
||||||
|
};
|
||||||
|
|
||||||
|
networking.firewall.checkReversePath = "loose";
|
||||||
|
}
|
Loading…
Add table
Add a link
Reference in a new issue