Smartd error after rebuild switch

Setting up my first computer running nixos. I have two new drives that I want to monitor with smartd. I updated my config to include:

  services.smartd = {
    enable = true;
    devices = [
      {
        device = "/dev/disk/by-id/ata-WDC_WD101EFAX-68LDBN0_VCGG71JN";
        options = "-d ata";
      }
      {
        device = "/dev/disk/by-id/ata-WDC-WD101EFAX-68LDBN0_VCGJDUNN";
        options = "-d ata";
      }
    ];
  };

But when I run nixos-rebuild switch I get the following error:

Jun 21 12:18:29 nixos smartd[21109]: Unable to register device /dev/disk/by-id/ata-WDC-WD101EFAX-68LDBN0_VCGJDUNN (no Directive -d removable). Exiting.

I don’t think the drives are dead because they are setup as a zfs pool and zpool status reports that they’re both online:

  pool: t10
 state: ONLINE
config:

	NAME                                    STATE     READ WRITE CKSUM
	t10                                     ONLINE       0     0     0
	  mirror-0                              ONLINE       0     0     0
	    ata-WDC_WD101EFAX-68LDBN0_VCGG71JN  ONLINE       0     0     0
	    ata-WDC_WD101EFAX-68LDBN0_VCGJDUNN  ONLINE       0     0     0

And I can navigate to them and add files via touch. I assume I’m doing something bone headed here. I’m just not sure what it is.

It was indeed a bone headed mistake. Typo in the second drive Id.

ata-WDC-WD101EFAX-68LDBN0_VCGJDUNN != ata-WDC_WD101EFAX-68LDBN0_VCGJDUNN