From 8f36abb5288b2d7942bfad4e4b7caf301ff23600 Mon Sep 17 00:00:00 2001 From: Max Date: Mon, 30 Aug 2021 01:00:44 +0200 Subject: [PATCH] nixos/ipfs: run profile applications offline --- nixos/modules/services/network-filesystems/ipfs.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nixos/modules/services/network-filesystems/ipfs.nix b/nixos/modules/services/network-filesystems/ipfs.nix index 2748571be1f7..1d5c03787496 100644 --- a/nixos/modules/services/network-filesystems/ipfs.nix +++ b/nixos/modules/services/network-filesystems/ipfs.nix @@ -226,8 +226,8 @@ in { ${optionalString (! cfg.localDiscovery) "--profile=server"} else ${if cfg.localDiscovery - then "ipfs config profile apply local-discovery" - else "ipfs config profile apply server" + then "ipfs --offline config profile apply local-discovery" + else "ipfs --offline config profile apply server" } fi '' + optionalString cfg.autoMount ''