dotfiles/etc/system/ssd.nix
2024-05-18 01:10:04 +02:00

18 lines
257 B
Nix

{ pkgs, ... }: {
services.smartd = {
enable = true;
notifications.wall.enable = true;
devices = [
{
# System
device = "/dev/nvme1n1";
}
{
# Data
device = "/dev/nvme0n1";
}
];
};
}