nixpkgs-suyu/nixos/modules/services/network-filesystems
Luflosi faad370edc nixos/ipfs: fix the services.ipfs.autoMigrate option
Apparently this was never properly tested and never worked. When the IPFS repo needs upgrading, the first call to ipfs, which is run before running the migration, fails with the error message "Error: ipfs repo needs migration".
To fix this, simply run the migration before any `ipfs config` calls but don't run it when `dataDir` is empty and we need to call `ipfs init`.
Writing a NixOS test for this would require keeping at least two versions of IPFS in Nixpkgs, which we don't currently do.
2022-04-16 07:38:13 -04:00
..
litestream
openafs
orangefs
cachefilesd.nix
ceph.nix nixos/ceph: mime-types -> mailcap 2022-01-26 14:30:10 -08:00
davfs2.nix
diod.nix
drbd.nix
glusterfs.nix
ipfs.nix nixos/ipfs: fix the services.ipfs.autoMigrate option 2022-04-16 07:38:13 -04:00
kbfs.nix
moosefs.nix nixos/doc: add moosefs module to release notes 2022-02-03 12:33:44 +01:00
netatalk.nix
nfsd.nix
rsyncd.nix nixos/rsyncd: fix module eval 2022-02-09 08:21:00 +01:00
samba-wsdd.nix
samba.nix Merge pull request #114393 from DarkDNA/feature/samba/network-online 2022-03-21 19:25:50 +01:00
tahoe.nix
u9fs.nix
webdav-server-rs.nix
webdav.nix
xtreemfs.nix
yandex-disk.nix