How do you write NixOS tests that cover cases that produces eval errors? (Like the negation of assertions
?)
Best solution I can think of: Call nix within a nixos test, pass in nix files as appropriate, expect failure, and check output for the expected error message(s).