up
This commit is contained in:
@@ -1,3 +1,10 @@
|
|||||||
|
{ pkgs, lib, ... }:
|
||||||
|
|
||||||
{
|
{
|
||||||
services.tailscale.enable = true;
|
services.tailscale = {
|
||||||
|
enable = true;
|
||||||
|
} // lib.optionalAttrs pkgs.stdenv.isLinux {
|
||||||
|
useRoutingFeatures = "server";
|
||||||
|
openFirewall = true;
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -10,9 +10,9 @@
|
|||||||
../../core
|
../../core
|
||||||
../../networking/firewall.nix
|
../../networking/firewall.nix
|
||||||
../../networking/ssh.nix
|
../../networking/ssh.nix
|
||||||
|
../../networking/tailscale.nix
|
||||||
../../services/adguard.nix
|
../../services/adguard.nix
|
||||||
../../services/syncthing.nix
|
../../services/syncthing.nix
|
||||||
./tailscale.nix
|
|
||||||
sops-nix.nixosModules.sops
|
sops-nix.nixosModules.sops
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|||||||
@@ -1,8 +0,0 @@
|
|||||||
{
|
|
||||||
services.tailscale = {
|
|
||||||
enable = true;
|
|
||||||
port = 41641;
|
|
||||||
useRoutingFeatures = "server";
|
|
||||||
openFirewall = true;
|
|
||||||
};
|
|
||||||
}
|
|
||||||
Reference in New Issue
Block a user