move helix to normal unstable again

This commit is contained in:
Schrottkatze 2024-04-16 21:35:32 +02:00
parent 4e34aeb208
commit 3ba9b95d09
Signed by: schrottkatze
SSH key fingerprint: SHA256:hXb3t1vINBFCiDCmhRABHX5ocdbLiKyCdKI4HK2Rbbc

View file

@ -1,8 +1,4 @@
{ {config, ...}: {
config,
pkgs-unstable-small,
...
}: {
home-manager.users.jade = {pkgs, ...}: { home-manager.users.jade = {pkgs, ...}: {
home = { home = {
sessionVariables.EDITOR = "hx"; sessionVariables.EDITOR = "hx";
@ -16,7 +12,7 @@
}; };
programs.helix = { programs.helix = {
enable = true; enable = true;
package = pkgs-unstable-small.helix; package = pkgs.helix;
settings = { settings = {
theme = "gruvbox"; theme = "gruvbox";
editor = { editor = {
@ -24,11 +20,12 @@
bufferline = "multiple"; bufferline = "multiple";
color-modes = true; color-modes = true;
cursorline = true; cursorline = true;
auto-save = true;
auto-format = true;
lsp = { lsp = {
display-messages = true; display-messages = true;
display-inlay-hints = true; display-inlay-hints = true;
}; };
completion-replace = true;
popup-border = "popup"; popup-border = "popup";
shell = ["nu" "-c"]; shell = ["nu" "-c"];
statusline.left = [ statusline.left = [
@ -93,7 +90,7 @@
}; };
"rust-analyzer" = { "rust-analyzer" = {
config = { config = {
check.command = "clippy"; check.command = "check";
completion.snippets.custom = { completion.snippets.custom = {
"pub fn" = { "pub fn" = {
prefix = ["pfn" "pubfn"]; prefix = ["pfn" "pubfn"];