about summary refs log tree commit diff
path: root/nix/tailscale/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'nix/tailscale/default.nix')
-rw-r--r--nix/tailscale/default.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/nix/tailscale/default.nix b/nix/tailscale/default.nix
index a21af7d115dc..8d6a0f661b92 100644
--- a/nix/tailscale/default.nix
+++ b/nix/tailscale/default.nix
@@ -2,7 +2,7 @@
 #
 # https://tailscale.com/kb/1018/install-acls
 
-{ depot, ... }:
+{ depot, pkgs, ... }:
 
 with depot.nix.yants;
 
@@ -27,4 +27,4 @@ let
     # Actual ACL entries
     ACLs = list acl;
   };
-in config: toFile "tailscale-acl.json" (toJSON (aclConfig config))
+in config: pkgs.writeText "tailscale-acl.json" (toJSON (aclConfig config))