initial
This commit is contained in:
28
hosts/sarien/work_user/programs/editor/neve.nix
Normal file
28
hosts/sarien/work_user/programs/editor/neve.nix
Normal file
@ -0,0 +1,28 @@
|
||||
{
|
||||
pkgs,
|
||||
lib,
|
||||
inputs,
|
||||
config,
|
||||
...
|
||||
}:
|
||||
with lib; let
|
||||
cfg = config.editor.neve;
|
||||
in {
|
||||
options = {
|
||||
editor.neve.enable =
|
||||
mkEnableOption "enable neve neovim distribution";
|
||||
};
|
||||
config = mkIf cfg.enable {
|
||||
home.packages = with pkgs; [
|
||||
neovide
|
||||
cpplint
|
||||
statix
|
||||
];
|
||||
programs.nixvim = {
|
||||
enable = true;
|
||||
imports = [inputs.neve.nixvimModule];
|
||||
viAlias = true;
|
||||
vimAlias = true;
|
||||
};
|
||||
};
|
||||
}
|
Reference in New Issue
Block a user