feat: adds smartd, changes scrutiny to be more generic smart stuff

This commit is contained in:
Ahwx 2025-04-24 10:58:12 +02:00
parent 71081eb600
commit 17bc3c6d52
3 changed files with 34 additions and 20 deletions

View file

@ -5,5 +5,5 @@
++ [ (import ./immich.nix) ]
++ [ (import ./nextcloud.nix) ]
++ [ (import ./home-assistant.nix) ]
++ [ (import ./scrutiny.nix) ];
++ [ (import ./smart-monitoring.nix) ];
}

View file

@ -10,6 +10,19 @@
];
};
services.smartd = {
enable = true;
autodetect = true;
notifications = {
mail = {
enable = true;
# mailer = "/path/to/mailer/binary";
sender = "${config.liv.variables.fromEmail}";
recipient = "${config.liv.variables.toEmail}";
};
};
};
# services.nginx.virtualHosts."" = {
# locations."/" = {
# proxyPass = "http://localhost:8181/";

View file

@ -1,4 +1,5 @@
{ ...}: {
{ ... }:
{
imports =
[ (import ./invidious.nix) ]
++ [ (import ./mumble.nix) ]
@ -16,7 +17,7 @@
++ [ (import ./jellyfin.nix) ]
++ [ (import ./readarr.nix) ]
++ [ (import ./lidarr.nix) ]
# ++ [(import ./scrutiny.nix)]
# ++ [(import ./smart-monitoring.nix)]
# ++ [(import ./jitsi-meet.nix)]
++ [ (import ./forgejo.nix) ]
++ [ (import ./matrix/default.nix) ];