MatthewCroughan / nixinate

Another NixOS Deployment Tool - Nixinate your systems 🕶️
MIT License
240 stars 32 forks source link

tests/vmTest: fix and deduplicate code #18

Closed MatthewCroughan closed 2 years ago

MatthewCroughan commented 2 years ago

Ironically, I did not properly test that I had made the local and remote tests distinct. So the exampleFlake was hardcoded to 'local' only. So, when building vmTests.local meaning you would get the same results as vmTests.remote, this commit fixes that. Additionally, I've made tests/vmTests/common.nix to deduplicate some of the code between nodes.