diff options
author | Max <max@privatevoid.net> | 2021-08-30 01:00:44 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-08-30 01:00:44 +0200 |
commit | 8f36abb5288b2d7942bfad4e4b7caf301ff23600 (patch) | |
tree | ad8eca41386549e5253a420025f25d99e414e407 | |
parent | 81cb962c3e2cc20a3c37c6a96fd920e456031dab (diff) |
nixos/ipfs: run profile applications offline
-rw-r--r-- | nixos/modules/services/network-filesystems/ipfs.nix | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/nixos/modules/services/network-filesystems/ipfs.nix b/nixos/modules/services/network-filesystems/ipfs.nix index 2748571be1f77..1d5c037874969 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 '' |