nixpkgs/nixos/modules
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
..
config nixos/console: Fix attribute path to fix eval 2022-04-14 22:07:41 +01:00
hardware treewide: remove obsolete kernel version checks 2022-04-08 09:56:09 +00:00
i18n/input-method nixos/documentation: split options doc build 2022-01-02 19:46:13 +01:00
installer nixos/kexec-boot: use dirname of script to resolve bzImage and initrd.gz 2022-04-13 13:26:04 +02:00
misc nixos/documentation: apply cleanSourceFilter 2022-04-08 12:20:28 +00:00
profiles nixos/nix-daemon: use structural settings 2022-01-26 21:04:50 -05:00
programs Merge pull request #129304 from yisraeldov/patch-1 2022-04-15 22:08:43 -05:00
security Merge pull request #164025 from lukegb/pam-ussh 2022-04-11 01:25:45 +01:00
services nixos/ipfs: fix the services.ipfs.autoMigrate option 2022-04-16 07:38:13 -04:00
system Merge pull request #168600 from helsinki-systems/feat/systemd-stage-1-keymap 2022-04-14 21:50:52 +01:00
tasks nixos/stage-1-systemd: Add LVM2 support 2022-04-13 23:00:19 +01:00
testing nixos/tests: also set TimeoutStart in systemd.user.extraConfig 2022-01-21 04:18:05 +01:00
virtualisation Merge pull request #168030 from samhug/qemu-vm 2022-04-11 10:45:32 +02:00
module-list.nix Merge pull request #162509 from mkg20001/haste 2022-04-15 21:08:27 +01:00
rename.nix openfire: remove after being marked broken for over two years 2022-04-03 16:14:18 +01:00