Add LibreNMS service
This commit is contained in:
parent
f20c086d6f
commit
c0f26a47f2
10 changed files with 151 additions and 0 deletions
|
|
@ -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" ];
|
||||
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue