dotfiles/nix/system/ssd.nix

19 lines
302 B
Nix
Raw Normal View History

2024-05-18 01:10:04 +02:00
{ pkgs, ... }: {
services.smartd = {
enable = true;
# to get notified if my drives are dying
2024-05-18 01:10:04 +02:00
notifications.wall.enable = true;
devices = [
{
# System
device = "/dev/nvme1n1";
}
{
# Data
device = "/dev/nvme0n1";
}
];
};
}