mirror of
https://github.com/nix-community/home-manager.git
synced 2025-03-09 10:16:55 +00:00
23 lines
462 B
Nix
23 lines
462 B
Nix
{
|
|
imports = [ ./stubs.nix ];
|
|
|
|
programs.neovim = {
|
|
enable = true;
|
|
coc = {
|
|
enable = true;
|
|
settings = {
|
|
# my variable
|
|
foo = "bar";
|
|
};
|
|
};
|
|
};
|
|
|
|
nmt.script = ''
|
|
cocSettings="$TESTED/home-files/.config/nvim/coc-settings.json"
|
|
cocSettingsNormalized="$(normalizeStorePaths "$cocSettings")"
|
|
|
|
assertFileExists "$cocSettings"
|
|
assertFileContent "$cocSettingsNormalized" "${./coc-config.expected}"
|
|
'';
|
|
}
|
|
|