Updated neovim config to be a home module
This commit is contained in:
parent
14620e645f
commit
0799e51593
4 changed files with 43 additions and 26 deletions
|
@ -1,18 +0,0 @@
|
|||
{
|
||||
config,
|
||||
lib,
|
||||
pkgs,
|
||||
...
|
||||
}: let
|
||||
inherit (lib) mkIf mkEnableOption;
|
||||
|
||||
cfg = config.aa.apps.neovim;
|
||||
in {
|
||||
options.aa.apps.neovim = {
|
||||
enable = mkEnableOption "neovim";
|
||||
};
|
||||
|
||||
config = mkIf cfg.enable {
|
||||
environment.systemPackages = with pkgs; [neovim];
|
||||
};
|
||||
}
|
|
@ -12,18 +12,13 @@ in {
|
|||
};
|
||||
|
||||
config = mkIf cfg.enable {
|
||||
aa = {
|
||||
apps = {
|
||||
neovim.enable = true;
|
||||
};
|
||||
};
|
||||
|
||||
environment.systemPackages = with pkgs; [
|
||||
awscli2
|
||||
direnv
|
||||
git
|
||||
minio-client
|
||||
pre-commit
|
||||
git
|
||||
vim
|
||||
];
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue