mirror of
https://github.com/foo-dogsquared/nixos-config.git
synced 2025-01-31 10:58:02 +00:00
44 lines
795 B
Nix
44 lines
795 B
Nix
{ config, lib, pkgs, ... }:
|
|
|
|
{
|
|
imports = [ ./modules ];
|
|
|
|
config = {
|
|
nixvimConfigs.fiesta.setups = {
|
|
snippets.enable = true;
|
|
ui.enable = true;
|
|
completion.enable = true;
|
|
treesitter.enable = true;
|
|
fuzzy-finder.enable = true;
|
|
debugging.enable = true;
|
|
desktop-utils.enable = true;
|
|
note-taking.enable = true;
|
|
};
|
|
|
|
# Some general settings.
|
|
globals = {
|
|
mapleader = " ";
|
|
maplocalleader = ",";
|
|
syntax = true;
|
|
};
|
|
|
|
options = {
|
|
encoding = "utf-8";
|
|
completeopt = [ "menuone" "noselect" ];
|
|
};
|
|
|
|
keymaps = [
|
|
{
|
|
mode = "i";
|
|
key = "jk";
|
|
action = "<Esc>";
|
|
}
|
|
];
|
|
|
|
plugins.nvim-autopairs.enable = true;
|
|
extraPlugins = with pkgs; [
|
|
decker
|
|
];
|
|
};
|
|
}
|