mirror of
https://github.com/nix-community/home-manager.git
synced 2025-03-10 10:47:02 +00:00
26 lines
539 B
Nix
26 lines
539 B
Nix
{ lib, ... }:
|
|
|
|
# Currently broken due to a change in Nixpkgs.
|
|
lib.mkIf false {
|
|
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}"
|
|
'';
|
|
}
|
|
|