1
0
Files
configuration
flake
hosts
_iso
aluminium
astatine
backup-4
beryllium
carbon
clerie-backup
dn42-il-gw1
dn42-il-gw5
dn42-il-gw6
dn42-ildix-clerie
dn42-ildix-service
gatekeeper
hydra-1
hydra-2
krypton
mail-2
monitoring-3
dashboards
alertmanager.nix
berlinerbaeder-exporter.nix
blackbox.nix
configuration.nix
grafana.nix
hardware-configuration.nix
nixos-validator.nix
prometheus.nix
rules.yml
secrets.json
ssh.pub
uptimestatus.nix
nonat
osmium
palladium
porter
storage-2
tungsten
web-2
zinc
lib
modules
pkgs
profiles
users
.gitignore
README.md
flake.lock
flake.nix
nixfiles/hosts/monitoring-3/berlinerbaeder-exporter.nix

12 lines
278 B
Nix

{ pkgs, ... }:
{
systemd.services.berlinerbaeder-exporter = {
wantedBy = [ "multi-user.target" ];
serviceConfig = {
DynamicUser = true;
};
script = "berlinerbaeder-exporter --listen [::1]:57382";
path = with pkgs; [ berlinerbaeder-exporter ];
};
}