current
 1{lib, ...}: {
 2  den.aspects.services.provides.goatcounter.nixos = {config, ...}: {
 3    services.goatcounter = {
 4      enable = true;
 5      address = "127.0.0.1";
 6      port = 4627;
 7      proxy = true;
 8      extraArgs = [];
 9    };
10
11    services.restic.backups."${config.networking.hostName}-backup".paths =
12      lib.mkIf
13      (builtins.hasAttr "${config.networking.hostName}-backup" config.services.restic.backups)
14      ["/var/lib/goatcounter"];
15  };
16}