More modularization
This commit is contained in:
parent
4e807b5759
commit
a92d79f96f
11
env/nix/modules/neovim.nix
vendored
11
env/nix/modules/neovim.nix
vendored
|
@ -1,3 +1,12 @@
|
|||
{ config, pkgs, ... }: {
|
||||
environment.systemPackages = [ pkgs.neovim ];
|
||||
environment = {
|
||||
systemPackages = [ pkgs.neovim ];
|
||||
variables = {
|
||||
EDITOR = "nvim";
|
||||
};
|
||||
shellAliases = {
|
||||
vim = "neovim";
|
||||
vi = "neovim";
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
5
env/nix/profiles/base.nix
vendored
5
env/nix/profiles/base.nix
vendored
|
@ -21,14 +21,9 @@
|
|||
unzip
|
||||
];
|
||||
variables = {
|
||||
EDITOR = "nvim";
|
||||
PAGER = "less";
|
||||
VISUAL = "less";
|
||||
};
|
||||
shellAliases = {
|
||||
vim = "neovim";
|
||||
vi = "neovim";
|
||||
};
|
||||
};
|
||||
|
||||
programs = {
|
||||
|
|
Reference in a new issue