diff options
author | Matthew Bauer <mjbauer95@gmail.com> | 2020-06-11 14:32:06 -0500 |
---|---|---|
committer | Matthew Bauer <mjbauer95@gmail.com> | 2020-06-11 14:32:06 -0500 |
commit | 74ff433320a6363a3a7e1fff5ac38a13fc737d94 (patch) | |
tree | 80e5dc54bffd00803a7732bff2d757e3f41f2733 /nixos/modules/services/network-filesystems/ipfs.nix | |
parent | c8a2e6324289db50b412b05e2f6235892ddce8ef (diff) | |
download | nixpkgs-74ff433320a6363a3a7e1fff5ac38a13fc737d94.tar nixpkgs-74ff433320a6363a3a7e1fff5ac38a13fc737d94.tar.gz nixpkgs-74ff433320a6363a3a7e1fff5ac38a13fc737d94.tar.bz2 nixpkgs-74ff433320a6363a3a7e1fff5ac38a13fc737d94.tar.lz nixpkgs-74ff433320a6363a3a7e1fff5ac38a13fc737d94.tar.xz nixpkgs-74ff433320a6363a3a7e1fff5ac38a13fc737d94.tar.zst nixpkgs-74ff433320a6363a3a7e1fff5ac38a13fc737d94.zip |
nixos/ipfs: remove unused auto migrate feature
Diffstat (limited to 'nixos/modules/services/network-filesystems/ipfs.nix')
-rw-r--r-- | nixos/modules/services/network-filesystems/ipfs.nix | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/nixos/modules/services/network-filesystems/ipfs.nix b/nixos/modules/services/network-filesystems/ipfs.nix index 1f5c14d777d..1e97dcd1731 100644 --- a/nixos/modules/services/network-filesystems/ipfs.nix +++ b/nixos/modules/services/network-filesystems/ipfs.nix @@ -7,7 +7,6 @@ let ipfsFlags = toString ([ (optionalString cfg.autoMount "--mount") - #(optionalString cfg.autoMigrate "--migrate") (optionalString cfg.enableGC "--enable-gc") (optionalString (cfg.serviceFdlimit != null) "--manage-fdlimit=false") (optionalString (cfg.defaultMode == "offline") "--offline") @@ -36,7 +35,6 @@ let baseService = recursiveUpdate commonEnv { wants = [ "ipfs-init.service" ]; - # NB: migration must be performed prior to pre-start, else we get the failure message! preStart = optionalString cfg.autoMount '' ipfs --local config Mounts.FuseAllowOther --json true ipfs --local config Mounts.IPFS ${cfg.ipfsMountDir} @@ -98,18 +96,6 @@ in { description = "systemd service that is enabled by default"; }; - /* - autoMigrate = mkOption { - type = types.bool; - default = false; - description = '' - Whether IPFS should try to migrate the file system automatically. - - The daemon will need to be able to download a binary from https://ipfs.io to perform the migration. - ''; - }; - */ - autoMount = mkOption { type = types.bool; default = false; |