summary refs log tree commit diff
path: root/nixos/modules/services/network-filesystems/ipfs.nix
diff options
context:
space:
mode:
authorDietrich Daroch <dietr1ch@acm.org>2020-05-12 23:59:49 -0700
committerDietrich Daroch <dietr1ch@acm.org>2020-05-13 00:15:50 -0700
commit735c9a70d7355ecea68a231ea2cb8f88b4243076 (patch)
treed6a1d4a7c79059ec05fe48d3eac74d3283af991f /nixos/modules/services/network-filesystems/ipfs.nix
parentdb010c5537cd6dbb121ef4b8629772fb69bf3d8f (diff)
downloadnixpkgs-735c9a70d7355ecea68a231ea2cb8f88b4243076.tar
nixpkgs-735c9a70d7355ecea68a231ea2cb8f88b4243076.tar.gz
nixpkgs-735c9a70d7355ecea68a231ea2cb8f88b4243076.tar.bz2
nixpkgs-735c9a70d7355ecea68a231ea2cb8f88b4243076.tar.lz
nixpkgs-735c9a70d7355ecea68a231ea2cb8f88b4243076.tar.xz
nixpkgs-735c9a70d7355ecea68a231ea2cb8f88b4243076.tar.zst
nixpkgs-735c9a70d7355ecea68a231ea2cb8f88b4243076.zip
Services,IPFS,Fix: Require the ipfs-migrator package for handling upgrades.
Without it, the services get stuck on startup when the IPFS repo needs upgrades.
Diffstat (limited to 'nixos/modules/services/network-filesystems/ipfs.nix')
-rw-r--r--nixos/modules/services/network-filesystems/ipfs.nix3
1 files changed, 3 insertions, 0 deletions
diff --git a/nixos/modules/services/network-filesystems/ipfs.nix b/nixos/modules/services/network-filesystems/ipfs.nix
index 880f70ae141..1f5c14d777d 100644
--- a/nixos/modules/services/network-filesystems/ipfs.nix
+++ b/nixos/modules/services/network-filesystems/ipfs.nix
@@ -217,6 +217,9 @@ in {
         createHome = false;
         uid = config.ids.uids.ipfs;
         description = "IPFS daemon user";
+        packages = [
+          pkgs.ipfs-migrator
+        ];
       };
     };