feat(nixvim): base my vim config upon nixvim

This commit is contained in:
2025-12-12 16:11:13 +01:00
parent 68843be871
commit 9e167f82d3
3 changed files with 103 additions and 13 deletions

View File

@@ -1,10 +1,32 @@
{ config, pkgs, ... }:
{ config, pkgs, inputs, ... }:
{
# user config
home.username = "aaron";
home.homeDirectory = "/home/aaron";
# nixvim config
programs.nixvim = {
globals.mapleader = " ";
enable = true;
viAlias = false;
vimAlias = true;
opts = {
number = true;
relativenumber = true;
shiftwidth = 2;
tabstop = 2;
expandtab = true;
incsearch = true;
};
colorschemes.nord.enable = true;
plugins.lualine.enable = true;
plugins.nix.enable = true;
plugins.treesitter.enable = true;
plugins.telescope.enable = true;
plugins.web-devicons.enable = true;
};
# user packages
home.packages = with pkgs; [
discord
@@ -45,7 +67,7 @@
powerline-symbols
nerd-fonts.sauce-code-pro
];
# configure git
programs.git.settings = {
enable = true;
@@ -93,10 +115,8 @@
# enable syncthing for user
services.syncthing.enable = true;
# enable home manager
programs.home-manager.enable = true;
# don't change
home.stateVersion = "25.11";
}