15 lines
266 B
Nix
15 lines
266 B
Nix
{ config, lib, ... }:
|
|
|
|
let
|
|
inherit (lib) mkIf;
|
|
cfg = config.ooknet.editor.nvim;
|
|
console = config.ooknet.console;
|
|
in
|
|
|
|
{
|
|
config = mkIf (cfg.enable || console.editor == "nvim") {
|
|
programs.nixvim.plugins.nvim-autopairs = {
|
|
enable = true;
|
|
};
|
|
};
|
|
}
|