nix-community.nixvim/tests/platforms/nixos.nix
Matt Sturgeon 77c78bd04e
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`.
2025-01-21 10:52:56 +00:00

22 lines
360 B
Nix

{
self,
system,
}:
self.inputs.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;
};
}
self.nixosModules.nixvim
];
}