mirror of
https://github.com/ryan4yin/nix-config.git
synced 2026-11-17 13:41:04 +01:00
test-instrumentation.nix sets serial-getty@ttyS0.enable = false at normal priority to keep ttyS0 free for the test backdoor console, while qemu-guest.nix set it to true at normal priority. Two conflicting normal-priority definitions made `nix flake check` fail while evaluating packages.x86_64-linux.ruby-nixos-tests. Use lib.mkDefault so the test framework wins in tests while ordinary QEMU guests still enable the serial getty.