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];
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue