users/foo-dogsquared/setups/development: set up text editor of choice

This commit is contained in:
Gabriel Arazas 2023-12-24 18:14:18 +08:00
parent 722bdaf3cc
commit 79a2e21b5d
No known key found for this signature in database
GPG Key ID: ADE0C41DAB221FCC
2 changed files with 17 additions and 5 deletions

View File

@ -36,11 +36,7 @@ in
}; };
# Set up with these variables. # Set up with these variables.
systemd.user.sessionVariables = { systemd.user.sessionVariables.PAGER = "moar";
PAGER = "moar";
MANPAGER = "nvim +Man!";
EDITOR = "nvim";
};
# Add it to the laundry list. # Add it to the laundry list.
services.bleachbit.cleaners = [ "bash.history" ]; services.bleachbit.cleaners = [ "bash.history" ];

View File

@ -24,6 +24,22 @@ in
servers.enable = true; servers.enable = true;
}; };
programs.neovim = {
enable = true;
package = pkgs.neovim-nightly;
vimAlias = true;
vimdiffAlias = true;
withNodeJs = true;
withPython3 = true;
withRuby = true;
};
systemd.user.sessionVariables = {
MANPAGER = "nvim +Man!";
EDITOR = "nvim";
};
home.packages = with pkgs; [ home.packages = with pkgs; [
cachix # Compile no more by using someone's binary cache! cachix # Compile no more by using someone's binary cache!
diffoscope # Oversized caffeine grinder. diffoscope # Oversized caffeine grinder.