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

@ -9,6 +9,8 @@ in
config = lib.mkIf cfg.enable {
age.secrets.snmpd-config.file = ../../secrets/snmpd-config.age;
# Enable SSH
services.openssh = {
enable = true;
@ -30,6 +32,13 @@ in
};
};
# SNMP
services.snmpd = {
enable = true;
openFirewall = true;
configFile = config.age.secrets.snmpd-config.path;
};
networking.nameservers = [ "192.168.1.2" ];
};