nix/hosts/librenms/default.nix

38 lines
599 B
Nix

{
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 = {
"mydomain" = p.domains.internal;
"nets" = ["192.168.1.0/24"];
"snmp.community" = [
"public"
"homelab"
];
};
};
virtualisation.proxmox.enable = true;
};
# Extra packages
environment.systemPackages = with pkgs; [ ];
system.stateVersion = "25.11";
}