mirror of
https://github.com/nix-community/home-manager.git
synced 2025-12-14 21:11:08 +01:00
Fix so that you can still generate `programs.helix.extraConfig` without using `programs.helix.settings`. Useful particularly in the case of `extraConfig = lib.readFile ./config.toml;`.
16 lines
271 B
Nix
16 lines
271 B
Nix
{ config, ... }:
|
|
{
|
|
programs.helix = {
|
|
enable = true;
|
|
extraConfig = ''
|
|
[editor]
|
|
auto-pairs = false
|
|
'';
|
|
};
|
|
|
|
nmt.script = ''
|
|
assertFileContent \
|
|
home-files/.config/helix/config.toml \
|
|
${./only-extraconfig-expected.toml}
|
|
'';
|
|
}
|