Common: replace neovim with helix
This commit is contained in:
parent
efc0440d61
commit
0adf440318
3 changed files with 23 additions and 17 deletions
|
|
@ -13,7 +13,7 @@
|
|||
./starship.nix
|
||||
./bat.nix
|
||||
./btop.nix
|
||||
./neovim.nix
|
||||
./helix.nix
|
||||
];
|
||||
# Some programs dont have a programs.*.enable option, so I install their package here
|
||||
environment.systemPackages = with pkgs; [
|
||||
|
|
|
|||
22
roles/common/programs/helix.nix
Normal file
22
roles/common/programs/helix.nix
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
{ pkgs, ... }:
|
||||
|
||||
{
|
||||
home-manager.users.toast = {
|
||||
programs.helix = {
|
||||
enable = true;
|
||||
defaultEditor = true;
|
||||
settings = {
|
||||
theme = "catppuccin_mocha";
|
||||
editor = {
|
||||
mouse = true;
|
||||
cursorline = true;
|
||||
statusline.mode = {
|
||||
normal = "Normal";
|
||||
insert = "Insert";
|
||||
select = "Select";
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
@ -1,16 +0,0 @@
|
|||
{ pkgs, ... }:
|
||||
|
||||
{
|
||||
home-manager.users.toast = {
|
||||
programs.neovim = {
|
||||
enable = true;
|
||||
plugins = with pkgs.vimPlugins; [
|
||||
catppuccin-nvim
|
||||
];
|
||||
defaultEditor = true;
|
||||
extraConfig = ''
|
||||
filetype indent on
|
||||
'';
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue