mirror of
https://github.com/nix-community/home-manager
synced 2024-11-23 19:49:45 +01:00
24 lines
391 B
Nix
24 lines
391 B
Nix
|
{ config, lib, pkgs, ... }:
|
||
|
|
||
|
with lib;
|
||
|
|
||
|
{
|
||
|
config = {
|
||
|
programs.neovim = {
|
||
|
enable = true;
|
||
|
|
||
|
extraLuaConfig = ''
|
||
|
-- extraLuaConfig
|
||
|
'';
|
||
|
};
|
||
|
nmt.script = ''
|
||
|
nvimFolder="home-files/.config/nvim"
|
||
|
assertFileContent "$nvimFolder/init.lua" ${
|
||
|
pkgs.writeText "init.lua-expected" ''
|
||
|
-- extraLuaConfig
|
||
|
''
|
||
|
}
|
||
|
'';
|
||
|
};
|
||
|
}
|