dotfiles/nix/system/ssd.nix
2024-07-31 07:17:52 +02:00

19 lines
302 B
Nix

{ pkgs, ... }: {
services.smartd = {
enable = true;
# to get notified if my drives are dying
notifications.wall.enable = true;
devices = [
{
# System
device = "/dev/nvme1n1";
}
{
# Data
device = "/dev/nvme0n1";
}
];
};
}