nixos/colony: Log smartd data for Netdata

This commit is contained in:
Jack O'Sullivan 2022-06-18 03:38:04 +01:00
parent 803db12e31
commit 45ffefc328

View File

@ -82,6 +82,7 @@
smartd = { smartd = {
enable = true; enable = true;
autodetect = true; autodetect = true;
extraOptions = [ "-A /var/log/smartd/" "--interval=600" ];
}; };
}; };
@ -100,6 +101,10 @@
"serial-getty@ttyS1".enable = true; "serial-getty@ttyS1".enable = true;
}; };
tmpfiles.rules = [
"d /var/log/smartd 0755 root root"
];
network = { network = {
links = { links = {
"10-wan0" = { "10-wan0" = {