Add LibreNMS service

This commit is contained in:
pazpi 2026-01-19 12:35:13 +01:00
parent f20c086d6f
commit c0f26a47f2
10 changed files with 151 additions and 0 deletions

View file

@ -127,6 +127,12 @@ in
domain = p.domains.public;
host = p.hosts.portainer;
};
librenms.proxy = {
enable = true;
domain = p.domains.public;
host = p.hosts.librenms;
};
};
networking = {

View file

@ -195,6 +195,15 @@
];
};
librenms = {
module = ./librenms;
tags = [
"lxc"
"bacco"
"librenms"
];
};
# Special hosts (non-LXC or local deployment)
# deadbeef = {
# module = ./deadbeef;

View file

@ -0,0 +1,33 @@
{
config,
pkgs,
lib,
...
}:
let
p = import ../parameters.nix;
in
{
my = {
utils = {
commons.enable = true;
lxc-standard.enable = true;
};
monitoring.librenms = {
enable = true;
hostname = p.hosts.librenms;
settings = {
"snmp.community" = [ "public" "homelab" ];
};
};
virtualisation.proxmox.enable = true;
};
# Extra packages
environment.systemPackages = with pkgs; [ ];
system.stateVersion = "25.11";
}

View file

@ -32,6 +32,7 @@ in
forgejo-runner = "forgejo-runner.${private-domain}";
n8n = "n8n.${private-domain}";
ilpost-podcast = "ilpost-podcast.${private-domain}";
librenms = "librenms.${private-domain}";
};
email = "davide@${public-domain}";
}