nix-config/tests/neovim.nix
Donovan Glover 22e31ff60b
chore: Format with nixpkgs-fmt
Note that we will continue to use nixpkgs-fmt for the time being here
since nixfmt-rfc-style breaks string syntax highlighting and comments
like `/* this */` get turned into `# this`.

The conversion from lisp-like formatting to something else in flake.nix
is a bit unfortunate, but I'd rather have a singular style for the
entire code base to make things easier.
2024-04-05 11:40:23 -04:00

19 lines
401 B
Nix

# TODO: Ensure that neovim config works without errors on startup
let
inherit (builtins) attrValues;
in
(import ./lib.nix) {
name = "neovim";
nodes.machine = { self, pkgs, ... }: {
imports = attrValues {
inherit (self.nixosModules) system shell;
};
};
testScript = /* python */ ''
output = machine.succeed("echo 'Hello world'")
assert "Hello world" in output
'';
}