tests/platforms: move out of flake wrappers module

These should be set up in a dedicated test file, owned by
`tests/default.nix`.

Also refactored to use `callTest`.
This commit is contained in:
Matt Sturgeon 2025-01-21 10:09:46 +00:00
parent 115994f18e
commit 77c78bd04e
No known key found for this signature in database
GPG key ID: 4F91844CED1A8299
7 changed files with 40 additions and 51 deletions

View file

@ -1,23 +0,0 @@
{
nixvim,
nixpkgs,
system,
}:
nixpkgs.lib.nixosSystem {
inherit system;
modules = [
{
system.stateVersion = "24.11";
boot.loader.systemd-boot.enable = true;
fileSystems."/" = {
device = "/non/existent/device";
};
programs.nixvim = {
enable = true;
};
}
nixvim.nixosModules.nixvim
];
}