nixos/matomo: introduce services.matomo.package option #47691
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
for e.g. being able to use an updated matomo from unstable or custom sources.
Motivation for this change
During 18.03's lifetime, I had several maintainership issues with Matomo releasing new versions that are not strictly security-relveant, but were still of crucial importance to a limited set of people.
The most prominent example was the GDPR update: If GDPR did not apply to you, you might would not want to risk the stability of your system, but for users in/targeting Europe, the update was crucial to be allowed to still operate a Matomo instance.
This option should allow me to be more strict on what's required for stable, as users really needing the update could easily get it from unstable with this option. The service definition itself is very unlikely to break with Matomo new releases, so this should just work.
Can we still get this into 18.09, at least eventually? I know I'm late, but this should not be able to break anything and help maintaining a stable Matomo during 18.09's lifetime.
Things done
sandbox
innix.conf
on non-NixOS)nix-shell -p nox --run "nox-review wip"
./result/bin/
)nix path-info -S
before and after)