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 /nixos/modules/services/network-filesystems/ipfs.nix | |
parent | 81cb962c3e2cc20a3c37c6a96fd920e456031dab (diff) | |
download | nixpkgs-8f36abb5288b2d7942bfad4e4b7caf301ff23600.tar nixpkgs-8f36abb5288b2d7942bfad4e4b7caf301ff23600.tar.gz nixpkgs-8f36abb5288b2d7942bfad4e4b7caf301ff23600.tar.bz2 nixpkgs-8f36abb5288b2d7942bfad4e4b7caf301ff23600.tar.lz nixpkgs-8f36abb5288b2d7942bfad4e4b7caf301ff23600.tar.xz nixpkgs-8f36abb5288b2d7942bfad4e4b7caf301ff23600.tar.zst nixpkgs-8f36abb5288b2d7942bfad4e4b7caf301ff23600.zip |
nixos/ipfs: run profile applications offline
Diffstat (limited to 'nixos/modules/services/network-filesystems/ipfs.nix')
-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 2748571be1f..1d5c0378749 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 '' |