nixos/kelder: Add SMART and netdata

This commit is contained in:
2023-05-28 13:58:42 +01:00
parent 1f0c3c4160
commit b041f135f3
2 changed files with 31 additions and 0 deletions

View File

@@ -110,6 +110,14 @@ in
greetingLine = ''Welcome to ${config.system.nixos.distroName} ${config.system.nixos.label} (\m) - \l'';
helpLine = "\nCall Jack for help.";
};
smartd = {
enable = true;
autodetect = true;
extraOptions = [ "-A /var/log/smartd/" "--interval=600" ];
};
netdata = {
enable = true;
};
ddclient = {
enable = true;
@@ -159,6 +167,10 @@ in
system.nixos.distroName = "KelderOS";
systemd = {
tmpfiles.rules = [
"d /var/log/smartd 0755 root root"
];
network = {
netdevs = {
"25-ctrs".netdevConfig = {