nixpkgs/nixos/doc/manual
Luflosi 78f357f134
nixos/kubo: make the configuration options idempotent
Without this commit, unsetting any of the `services.kubo.settings` options does not reset the value back to the default. This commit gets rid of this statefulness.
This is achieved by generating the default config, applying the user specified config options to it and then patching the `Identity` and `Pinning` config options from the old config back in. This new config is then applied using `ipfs config replace`.
The only remaining stateful parts of the config are the `Identity` and `Pinning.RemoteServices` settings as those can't be changed with `ipfs config replace`. `Pinning.RemoteServices` also contains secrets that shouldn't be in the Nix store. Setting these options wasn't possible before as it would result in an error when the daemon tried to start. I added some assertions to guard against this case.
2023-01-24 16:33:03 +01:00
..
administration doc,nixos/doc: unescape apostrophes 2022-12-27 17:13:47 +01:00
configuration services.openssh: support freeform settings (#193757) 2023-01-15 16:32:46 +01:00
development nixos/manual: clarify mk{Enable,Package}Option MD usage 2023-01-22 17:08:40 +01:00
from_md nixos/kubo: make the configuration options idempotent 2023-01-24 16:33:03 +01:00
installation doc/installation: fix incorrect channel link 2023-01-03 15:24:36 -05:00
release-notes nixos/kubo: make the configuration options idempotent 2023-01-24 16:33:03 +01:00
.gitignore
contributing-to-this-manual.chapter.md nixos/manpages: Explain -I option and how to build manpages 2022-12-11 11:00:06 +01:00
default.nix nixos/documentation: deprecate docbook option docs 2023-01-22 17:08:40 +01:00
Makefile
man-configuration.xml
man-nixos-build-vms.xml
man-nixos-enter.xml
man-nixos-generate-config.xml
man-nixos-install.xml
man-nixos-option.xml
man-nixos-rebuild.xml Merge pull request #210382 from B4dM4n/nixos-rebuild-local 2023-01-23 16:37:41 +08:00
man-nixos-version.xml nixos-version: output configurationRevision 2023-01-03 20:40:35 +01:00
man-pages.xml
manual.xml
md-to-db.sh nixos/manual: move "edit the MD file" comments to generated XML 2023-01-10 12:34:37 +01:00
preface.xml Revert "Update preface.xml (#185868)" 2022-08-10 20:26:01 +10:00
README.md
shell.nix