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

@ -2,10 +2,11 @@
{ {
programs.alacritty.enable = true; programs.alacritty.enable = true;
programs.alacritty.settings = { programs.alacritty.settings = {
window.opacity = 0.8; window.opacity = lib.mkDefault 0.8;
/*
colors.bright = { colors.bright = {
black = lib.mkDefault "#444b6a"; black = "#444b6a";
blue = lib.mkDefault "#7da6ff"; blue = "#7da6ff";
cyan = "#0db9d7"; cyan = "#0db9d7";
green = "#b9f27c"; green = "#b9f27c";
magenta = "#bb9af7"; magenta = "#bb9af7";
@ -27,9 +28,10 @@
background = "#1a1b26"; background = "#1a1b26";
foreground = "#a9b1d6"; foreground = "#a9b1d6";
}; };
*/
font = { font = {
normal = { normal = {
family = "Iosevka"; family = lib.mkDefault "Iosevka";
style = "Regular"; style = "Regular";
}; };
bold = { bold = {
@ -44,7 +46,7 @@
family = "Iosevka"; family = "Iosevka";
style = "Bold Italic"; style = "Bold Italic";
}; };
size = 18.0; # Adjust the font size as needed size = lib.mkDefault 18.0; # Adjust the font size as needed
}; };
}; };
} }

View file

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