chore(nix): fix deprecation warnings and add checks

1 job for master in 1 minute and 2 seconds