summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--configuration.nix12
1 files changed, 10 insertions, 2 deletions
diff --git a/configuration.nix b/configuration.nix
index adbbb91..9ec6a8c 100644
--- a/configuration.nix
+++ b/configuration.nix
@@ -80,9 +80,15 @@
# List packages installed in system profile. To search, run:
# $ nix search wget
environment.systemPackages = with pkgs; [
- vim
+ (lib.lowPrio pkgs.vim) # Lower Vim's priority
+ (pkgs.writeShellApplication {
+ name = "vi";
+ runtimeInputs = [ pkgs.nvi ];
+ text = ''
+ exec ${pkgs.nvi}/bin/vi "$@"
+ '';
+ })
neovim
- nvi
wget
git
librewolf
@@ -100,6 +106,8 @@
xdotool
];
+
+
programs.git = {
enable = true;
config = {