mirror of
https://github.com/nix-community/nixvim.git
synced 2025-08-01 00:24:59 +02:00
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:
parent
115994f18e
commit
77c78bd04e
7 changed files with 40 additions and 51 deletions
22
tests/platforms/nixos.nix
Normal file
22
tests/platforms/nixos.nix
Normal file
|
@ -0,0 +1,22 @@
|
|||
{
|
||||
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
|
||||
];
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue