about summary refs log tree commit diff
path: root/ops/nixos
diff options
context:
space:
mode:
Diffstat (limited to 'ops/nixos')
-rw-r--r--ops/nixos/camden/default.nix18
1 files changed, 10 insertions, 8 deletions
diff --git a/ops/nixos/camden/default.nix b/ops/nixos/camden/default.nix
index e809446bb6d5..64f1e8d54dd5 100644
--- a/ops/nixos/camden/default.nix
+++ b/ops/nixos/camden/default.nix
@@ -109,14 +109,16 @@ in pkgs.lib.fix(self: {
     enable = true;
     relayConf = "/etc/tailscale.conf";
     package = pkgs.third_party.tailscale;
-    aclFile = pkgs.nix.tailscale [
-      # Allow any traffic from myself
-      {
-        Action = "accept";
-        Users = [ "mail@tazj.in" ];
-        Ports = [ "*:*" ];
-      }
-    ];
+    aclFile = pkgs.nix.tailscale {
+      ACLs = [
+        # Allow any traffic from myself
+        {
+          Action = "accept";
+          Users = [ "mail@tazj.in" ];
+          Ports = [ "*:*" ];
+        }
+      ];
+    } ;
   };
 
   # serve my website