This commit is contained in:
Lucy von Overheidt 2025-09-09 18:49:48 +02:00
parent ce96d623a0
commit 9deeeaabce
2 changed files with 48 additions and 37 deletions

View file

@ -1,8 +1,9 @@
{ lib, pkgs, ... }: {
{ lib, pkgs, ... }:
{
programs.helix = {
enable = true;
settings = {
theme = "autumn_night_transparent";
theme = lib.mkDefault "autumn_night_transparent";
editor.cursor-shape = {
normal = "block";
insert = "bar";
@ -10,13 +11,17 @@
};
};
languages = {
language = [{
name = "nix";
auto-format = true;
formatter.command = "${pkgs.nixfmt}/bin/nixfmt";
language-servers = [ "nixd" ];
}];
language-server.nixd = { command = lib.getExe pkgs.nixd; };
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 = {
@ -24,7 +29,11 @@
"ui.background" = { };
};
};
extraPackages = with pkgs; [ nil rust-analyzer gopls ];
extraPackages = with pkgs; [
nil
rust-analyzer
gopls
];
};
}