enable smartmontols and scrub

This commit is contained in:
Tao Tien 2025-10-27 23:34:29 -07:00
commit 9669e079df
2 changed files with 49 additions and 40 deletions

View file

@ -6,6 +6,7 @@
...
}: {
environment.systemPackages = with pkgs; [
smartmontools
# inputs.helix.packages.${pkgs.system}.default
bat
bottom
@ -84,9 +85,17 @@
settings.IPv6.Enabled = true;
settings.Settings.AutoConnect = true;
};
services.smartd = {
enable = true;
notifications.systembus-notify.enable = true;
};
services.smartd.enable = true;
# services.btrfs.autoScrub.enable = lib.mkDefault true;
services.btrfs.autoScrub = {
enable = true;
interval = "weekly";
fileSystems = ["/"];
};
security.rtkit.enable = true;
services.pipewire = {