Matomo: Difference between revisions

From NixOS Wiki
imported>Nix
m add Software/Applications subcategory
Klinger (talk | contribs)
link to manual and changed categories
 
Line 1: Line 1:
[https://matomo.org Matomo] is a real-time web analytics platform.
[https://matomo.org Matomo] ([https://github.com/matomo-org source code]) is a real-time web analytics platform.
 
This article extends the documentation in the [https://nixos.org/manual/nixos/stable/#module-services-matomo NixOS manual].


== Plugins ==
== Plugins ==
Line 20: Line 22:
</syntaxHighlight>
</syntaxHighlight>


[[Category:Applications]]
[[Category:Web Applications]]
[[Category:Server]]
[[Category:NixOS Manual]]

Latest revision as of 19:09, 16 May 2024

Matomo (source code) is a real-time web analytics platform.

This article extends the documentation in the NixOS manual.

Plugins

To use plugins one can use matomo2nix

matomoPackages = (callPackage (builtins.fetchGit {
  url = "https://git.helsinki.tools/helsinki-systems/matomo2nix";
  ref = "master";
}) {}) // {
  withPlugins = matomoPkg: pluginPkgs: runCommand "matomo-with-plugins" {} ''
    cp -a ${matomoPkg}/. $out
    find $out -type d -exec chmod 755 {} +
    for i in ${lib.concatStringsSep " " pluginPkgs}; do
      cp -a $i/. $out
    done
  '';
};