cos/loadedskypotato/matomo.nix
2026-02-08 17:39:45 -05:00

18 lines
372 B
Nix

{ config, lib, ... }:
let cfg = config.cos.matomo; in
{
options.cos.matomo = {
enable = lib.mkEnableOption "enable matomo";
hostname = lib.mkOption {
type = lib.types.str;
};
};
config = lib.mkIf cfg.enable {
services.matomo = { # Effectively never finished
enable = true;
hostname = cfg.hostname;
nginx = {};
};
};
}