about summary refs log tree commit diff
path: root/nixos/tests
diff options
context:
space:
mode:
authorLuflosi <luflosi@luflosi.de>2023-04-14 15:56:10 +0200
committerLuflosi <luflosi@luflosi.de>2023-04-15 15:25:06 +0200
commit7ceebbb35bfebd887f41418588d1ccc32d3a977a (patch)
tree8797bfe82d19cfd4e8059528f48ebe3f3578330b /nixos/tests
parent929a00bd84acbf35447d3df1066b1c8afd7ac82d (diff)
nixos/kubo: allow multiple API and Gateway addresses
The daemon allows specifying an array of multiaddrs for Addresses.API and Addresses.Gateway, so the NixOS module should allow that as well.
Diffstat (limited to 'nixos/tests')
-rw-r--r--nixos/tests/kubo.nix3
1 files changed, 2 insertions, 1 deletions
diff --git a/nixos/tests/kubo.nix b/nixos/tests/kubo.nix
index dfe653b5d2717..53642ee3fc8d4 100644
--- a/nixos/tests/kubo.nix
+++ b/nixos/tests/kubo.nix
@@ -20,7 +20,8 @@
   nodes.fuse = { ... }: {
     services.kubo = {
       enable = true;
-      settings.Addresses.API = "/ip4/127.0.0.1/tcp/2324";
+      # Only allow API access through the Unix domain socket
+      settings.Addresses.API = [ ];
       autoMount = true;
     };
   };