✨ [pi4] Replaced Nvim with Helix editor
This commit is contained in:
parent
7ed64943a6
commit
ed6a435d79
@ -11,10 +11,10 @@
|
|||||||
inputs.catppuccin.homeModules.catppuccin
|
inputs.catppuccin.homeModules.catppuccin
|
||||||
(lib.custom.relativeToRoot "shared/home-manager/btop.nix")
|
(lib.custom.relativeToRoot "shared/home-manager/btop.nix")
|
||||||
(lib.custom.relativeToRoot "shared/home-manager/development/git.nix")
|
(lib.custom.relativeToRoot "shared/home-manager/development/git.nix")
|
||||||
(lib.custom.relativeToRoot "shared/home-manager/development/nixvim")
|
|
||||||
(lib.custom.relativeToRoot "shared/home-manager/fastfetch.nix")
|
(lib.custom.relativeToRoot "shared/home-manager/fastfetch.nix")
|
||||||
(lib.custom.relativeToRoot "shared/home-manager/fish.nix")
|
(lib.custom.relativeToRoot "shared/home-manager/fish.nix")
|
||||||
(lib.custom.relativeToRoot "shared/home-manager/gpg.nix")
|
(lib.custom.relativeToRoot "shared/home-manager/gpg.nix")
|
||||||
|
./helix.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
home.stateVersion = systemConfig.version;
|
home.stateVersion = systemConfig.version;
|
||||||
|
30
hosts/pi4/home-manager/helix.nix
Normal file
30
hosts/pi4/home-manager/helix.nix
Normal file
@ -0,0 +1,30 @@
|
|||||||
|
{ pkgs, theme, ... }:
|
||||||
|
|
||||||
|
{
|
||||||
|
catppuccin.helix = {
|
||||||
|
enable = true;
|
||||||
|
flavor = theme.flavor;
|
||||||
|
};
|
||||||
|
|
||||||
|
programs.helix = {
|
||||||
|
enable = true;
|
||||||
|
defaultEditor = true;
|
||||||
|
settings = {
|
||||||
|
editor = {
|
||||||
|
cursor-shape = {
|
||||||
|
normal = "block";
|
||||||
|
insert = "bar";
|
||||||
|
select = "underline";
|
||||||
|
};
|
||||||
|
lsp.display-messages = true;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
languages.language = [
|
||||||
|
{
|
||||||
|
name = "nix";
|
||||||
|
auto-format = true;
|
||||||
|
formatter.command = "${pkgs.nixfmt-rfc-style}/bin/nixfmt";
|
||||||
|
}
|
||||||
|
];
|
||||||
|
};
|
||||||
|
}
|
Loading…
x
Reference in New Issue
Block a user