More modularization

This commit is contained in:
Daniel Flanagan 2020-10-24 10:12:39 -05:00
parent 4e807b5759
commit a92d79f96f
Signed by: lytedev
GPG key ID: 5B2020A0F9921EF4
2 changed files with 10 additions and 6 deletions

View file

@ -1,3 +1,12 @@
{ config, pkgs, ... }: {
environment.systemPackages = [ pkgs.neovim ];
environment = {
systemPackages = [ pkgs.neovim ];
variables = {
EDITOR = "nvim";
};
shellAliases = {
vim = "neovim";
vi = "neovim";
};
};
}

View file

@ -21,14 +21,9 @@
unzip
];
variables = {
EDITOR = "nvim";
PAGER = "less";
VISUAL = "less";
};
shellAliases = {
vim = "neovim";
vi = "neovim";
};
};
programs = {