mirror of
https://github.com/Death916/nixconfig.git
synced 2026-04-10 02:54:39 -07:00
helix lsp homelab
This commit is contained in:
parent
6961ef83c0
commit
325c2135c1
1 changed files with 42 additions and 1 deletions
|
|
@ -25,6 +25,47 @@
|
|||
# update-system = "sudo nixos-rebuild switch --flake /etc/nixos#homelab";
|
||||
# };
|
||||
|
||||
|
||||
programs.helix = {
|
||||
enable = true;
|
||||
settings = {
|
||||
theme = "autumn_night_transparent";
|
||||
editor = {
|
||||
cursor-shape = {
|
||||
normal = "block";
|
||||
insert = "bar";
|
||||
select = "underline";
|
||||
};
|
||||
true-color = true;
|
||||
soft-wrap = {
|
||||
enable = true;
|
||||
};
|
||||
};
|
||||
};
|
||||
languages.language = [
|
||||
{
|
||||
name = "nix";
|
||||
auto-format = true;
|
||||
formatter.command = lib.getExe pkgs.nixfmt-rfc-style;
|
||||
}
|
||||
# Python configuration
|
||||
{
|
||||
name = "python";
|
||||
language-servers = [ "pylsp" ];
|
||||
auto-format = true;
|
||||
}
|
||||
];
|
||||
themes = {
|
||||
autumn_night_transparent = {
|
||||
"inherits" = "autumn_night";
|
||||
"ui.background" = { };
|
||||
};
|
||||
};
|
||||
extraPackages = [
|
||||
pkgs.python3Packages.python-lsp-server # Required for pylsp
|
||||
];
|
||||
};
|
||||
|
||||
programs.atuin = {
|
||||
enable = true;
|
||||
settings = {
|
||||
|
|
@ -36,7 +77,7 @@
|
|||
# Any user-specific packages for death916 on the server
|
||||
fastfetch
|
||||
wget
|
||||
helix
|
||||
|
||||
];
|
||||
|
||||
# Keep this consistent with your system's state version
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue