diff options
author | Vincent Ambo <tazjin@google.com> | 2020-02-11T21·00+0000 |
---|---|---|
committer | Vincent Ambo <tazjin@google.com> | 2020-02-11T21·00+0000 |
commit | b4c0292753bf06663ea5a10b3575817b0077c02e (patch) | |
tree | f255792d36683868b5c16f91ec40768ce3c4de19 /ops/nixos/camden/default.nix | |
parent | 675fed2dcada78613d5cfad036f1bebd65dd542c (diff) |
fix(nix/tailscale): Fix incorrect Tailscale ACL config type r/543
Diffstat (limited to 'ops/nixos/camden/default.nix')
-rw-r--r-- | ops/nixos/camden/default.nix | 18 |
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 |