From 43bb15f179a241c76747ef6de7692eb6df42fb50 Mon Sep 17 00:00:00 2001 From: Leonora Tindall Date: Mon, 5 Feb 2024 10:03:53 -0600 Subject: [PATCH] Add vim config --- home.nix | 3 +++ vim.nix | 11 +++++++++++ 2 files changed, 14 insertions(+) create mode 100644 vim.nix diff --git a/home.nix b/home.nix index 59f7980..c39b4fe 100644 --- a/home.nix +++ b/home.nix @@ -2,6 +2,9 @@ let inherit (lib) hm; in { + imports = [ + ./vim.nix + ]; programs.git = { enable = true; userName = "Leonora Tindall"; diff --git a/vim.nix b/vim.nix new file mode 100644 index 0000000..b7358b5 --- /dev/null +++ b/vim.nix @@ -0,0 +1,11 @@ +{ config, pkgs, ... }: +{ + programs.vim = { + enable = true; + defaultEditor = true; + plugins = with pkgs.vimPlugins; [ + vim-nix + rust-vim + ]; + }; +}