This commit is contained in:
parent
07ed50ca90
commit
e52f68c62a
2 changed files with 42 additions and 0 deletions
|
@ -3,6 +3,7 @@
|
|||
{
|
||||
imports = [
|
||||
./emacs
|
||||
./neovim.nix
|
||||
./vscode.nix
|
||||
];
|
||||
}
|
41
modules/home/editors/neovim.nix
Normal file
41
modules/home/editors/neovim.nix
Normal file
|
@ -0,0 +1,41 @@
|
|||
{ config, pkgs, lib, ... }:
|
||||
|
||||
with lib;
|
||||
let
|
||||
cfg = config.modules.home.editors.neovim;
|
||||
in
|
||||
{
|
||||
options.modules.home.editors.neovim = {
|
||||
enable = mkEnableOption ''
|
||||
Enable neovim with my custom configurations
|
||||
'';
|
||||
};
|
||||
config = mkIf cfg.enable {
|
||||
programs.neovim = {
|
||||
enable = true;
|
||||
defaultEditor = true;
|
||||
};
|
||||
|
||||
# Source : https://www.lazyvim.org/
|
||||
modules.home.apps.kitty.enable = lib.mkDefault true;
|
||||
modules.home.shell.git.enable = lib.mkDefault true;
|
||||
|
||||
home.packages = with pkgs; [
|
||||
lazygit
|
||||
curl
|
||||
gnutar
|
||||
fzf
|
||||
ripgrep
|
||||
fd
|
||||
gcc
|
||||
|
||||
unzip
|
||||
cargo
|
||||
python3
|
||||
nodejs
|
||||
nil
|
||||
rust-analyzer
|
||||
clang-tools
|
||||
];
|
||||
};
|
||||
}
|
Loading…
Add table
Reference in a new issue