aboutsummaryrefslogtreecommitdiff
path: root/hosts/sagittarius/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'hosts/sagittarius/default.nix')
-rw-r--r--hosts/sagittarius/default.nix12
1 files changed, 11 insertions, 1 deletions
diff --git a/hosts/sagittarius/default.nix b/hosts/sagittarius/default.nix
index 8c98a0e..842c01e 100644
--- a/hosts/sagittarius/default.nix
+++ b/hosts/sagittarius/default.nix
@@ -1,5 +1,6 @@
{
pkgs,
+ config,
...
}:
{
@@ -11,7 +12,6 @@
./web
./sops.nix
./network.nix
- ./headscale.nix
./auto-update.nix
];
@@ -39,6 +39,16 @@
enableSSHSupport = true;
};
+ services.tailscale = {
+ enable = true;
+ openFirewall = true;
+ };
+ networking.firewall = {
+ checkReversePath = "loose";
+ trustedInterfaces = [ "tailscale0" ];
+ allowedUDPPorts = [ config.services.tailscale.port ];
+ };
+
users = {
users = {
ascella = {