This commit is contained in:
Lucy von Overheidt 2025-09-09 18:03:42 +02:00
commit 0df1237eb2
19 changed files with 1921 additions and 0 deletions

30
modules/helix.nix Normal file
View file

@ -0,0 +1,30 @@
{ lib, pkgs, ... }: {
programs.helix = {
enable = true;
settings = {
theme = "autumn_night_transparent";
editor.cursor-shape = {
normal = "block";
insert = "bar";
select = "underline";
};
};
languages = {
language = [{
name = "nix";
auto-format = true;
formatter.command = "${pkgs.nixfmt}/bin/nixfmt";
language-servers = [ "nixd" ];
}];
language-server.nixd = { command = lib.getExe pkgs.nixd; };
};
themes = {
autumn_night_transparent = {
"inherits" = "autumn_night";
"ui.background" = { };
};
};
extraPackages = with pkgs; [ nil rust-analyzer gopls ];
};
}