Add disk health check

This commit is contained in:
Yan Lin 2025-09-07 12:54:38 +02:00
parent 95b92c232e
commit d2bc0a522e
6 changed files with 413 additions and 5 deletions

View file

@ -29,6 +29,8 @@ in
hms-offline = "home-manager switch --flake ~/.config/nix#$(whoami)@$(hostname) --option substitute false";
doss = "sudo darwin-rebuild switch --flake ~/.config/nix#$(hostname)";
noss = "sudo nixos-rebuild switch --flake ~/.config/nix#$(hostname)";
# Disk health monitoring
smart-report = "sudo /home/yanlin/.config/nix/scripts/daily-smart-report.sh";
} // lib.optionalAttrs pkgs.stdenv.isDarwin {
# macOS-specific app aliases