nixpkgs/nixos/modules/services
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
..
admin nixos/pgadmin: init 2022-02-26 14:30:14 +01:00
amqp nixos/doc: clean up defaults and examples 2021-10-04 12:47:20 +02:00
audio nixos/squeezelite: add support for PulseAudio version 2022-03-13 21:08:52 +08:00
backup nixos/zrepl: note about systemd unit, add snapshot test 2022-03-30 08:55:15 -07:00
blockchain/ethereum nixos/doc: clean up defaults and examples 2021-10-04 12:47:20 +02:00
cluster Merge pull request #154004 from illustris/hadoop 2022-03-16 14:05:56 +02:00
computing nixos/slurm: fix startup of slurmd 2022-01-31 23:08:55 +01:00
continuous-integration nixos/jenkinsSlave: install java 2022-04-01 22:11:18 +02:00
databases nixos/cockroachdb: use escapeSystemdExecArgs for ExecStart args 2022-04-12 10:34:56 +02:00
desktops pipewire: 0.3.48 -> 0.3.49 2022-04-02 12:10:35 +02:00
development Merge pull request #137335 from dsg22/feature-jupyter-create-system-user 2022-04-03 18:22:04 +01:00
display-managers nixos/doc: clean up defaults and examples 2021-10-04 12:47:20 +02:00
editors nixos/haste-server: add 2022-03-07 23:38:23 +01:00
finance nixos/odoo: apply suggestions from review 2021-11-03 12:40:59 +01:00
games Merge pull request #161226 from Misterio77/master 2022-03-29 14:17:01 +01:00
hardware Merge pull request #167349 from helsinki-systems/feat/udev-systemd-stage-1 2022-04-12 21:02:52 +01:00
home-automation nixos/zigbee2mqtt: move into home-automation category 2022-03-01 19:19:31 +01:00
logging nixos/logrotate: use packages from buildPackages in configuration checkPhase, fixing cross compilation 2022-04-16 10:22:39 +02:00
mail Merge pull request #167323 from alyssais/mailman-ext_dir 2022-04-12 21:27:27 +02:00
matrix nixos/matrix-synapse: fix typo in mkRemovedOptionModule replacementInstructions 2022-04-15 22:52:29 +02:00
misc Merge pull request #156401 from TLATER/tlater/gitea-hide-secrets 2022-04-15 10:26:12 +02:00
monitoring Merge pull request #162777 from amarshall/prom-deprecated-opt 2022-04-12 09:07:51 +01:00
network-filesystems nixos/ipfs: fix the services.ipfs.autoMigrate option 2022-04-16 07:38:13 -04:00
networking nixos/ncdns: listen on IPv6 by default 2022-04-14 21:07:15 +02:00
printing nixos/doc: clean up defaults and examples 2021-10-04 12:47:20 +02:00
scheduling nixos/doc: clean up defaults and examples 2021-10-04 12:47:20 +02:00
search Merge pull request #153596 from illustris/elasticsearch 2022-01-30 01:23:58 +01:00
security Merge pull request #165764 from notgne2/oauth2-proxy-group 2022-04-01 13:32:21 +02:00
system nixos/earlyoom: bring the module up to date (#163663) 2022-03-24 15:34:09 +08:00
torrent Merge pull request #148785 from pennae/more-option-doc-staticizing 2021-12-17 11:14:08 -05:00
ttys nixos/getty: remove serialSpeed 2021-11-19 10:17:26 +01:00
video nixos/unifi-video: add deprecation warning for openFirewall 2022-03-28 19:55:50 -07:00
wayland nixos/cage: enable polkit 2022-01-27 01:45:45 +01:00
web-apps Merge pull request #167378 from talyz/keycloak-quarkus 2022-04-15 22:02:42 +02:00
web-servers nixos/nginx: add extraParameters to http3 protocol 2022-04-11 22:33:12 +02:00
x11 nixos/desktop-managers: Fix eval 2022-04-14 06:53:08 +02:00