about summary refs log tree commit diff stats
path: root/tests/by-name/nv/nvim-neorg/test.nix
blob: ee0e1b5271a4dff6101d5b7d3138b9807d860700 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
{
  mkTest,
  extraModules,
  pkgs,
  ...
}:
mkTest {
  name = "nvim-neorg";

  configuration = {
    imports = [
      ../../../../modules/by-name/nv/nvim/module.nix
      ../../../../modules/by-name/ni/nixpkgs/module.nix
    ];
    config = {
      soispha = {
        nixpkgs = {
          enable = true;
          systemName = "x86_64-linux";
        };
        programs.nvim = {
          enable = true;
          shell = pkgs.zsh;
        };
      };
      home-manager.users.soispha = {
        imports = [
          extraModules.nixvim.homeManagerModule
        ];
      };
    };
  };

  alternateScreen = false;

  testData = {
    "/home/soispha/repos/notes/general/index.norg" = ./data/index.norg;
    "/home/soispha/repos/notes/general/reference.norg" = ./data/reference.norg;
  };

  description = ./test.desc;

  # The golden file is just full of nvim's terminal control sequences. There is no point
  # in trying to check it.
  hash = null;
}