mirror of
https://github.com/donovanglover/nix-config.git
synced 2024-11-22 08:14:00 +01:00
19 lines
413 B
Nix
19 lines
413 B
Nix
# TODO: Ensure that neovim config works without errors on startup
|
|
let
|
|
inherit (builtins) attrValues;
|
|
in
|
|
(import ../lib/test.nix) {
|
|
name = "neovim";
|
|
|
|
nodes.machine = { nix-config, ... }: {
|
|
imports = attrValues {
|
|
inherit (nix-config.nixosModules) system shell;
|
|
};
|
|
};
|
|
|
|
testScript = /* python */ ''
|
|
output = machine.succeed("echo 'Hello world'")
|
|
assert "Hello world" in output
|
|
'';
|
|
}
|