mirror of
https://github.com/nix-community/home-manager
synced 2024-12-22 11:03:13 +00:00
28 lines
522 B
Nix
28 lines
522 B
Nix
|
{ config, lib, pkgs, ... }:
|
||
|
|
||
|
with lib;
|
||
|
|
||
|
{
|
||
|
config = {
|
||
|
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}"
|
||
|
'';
|
||
|
};
|
||
|
}
|
||
|
|