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,34 +2,36 @@
{ {
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 = { /*
black = lib.mkDefault "#444b6a"; colors.bright = {
blue = lib.mkDefault "#7da6ff"; black = "#444b6a";
cyan = "#0db9d7"; blue = "#7da6ff";
green = "#b9f27c"; cyan = "#0db9d7";
magenta = "#bb9af7"; green = "#b9f27c";
red = "#ff7a93"; magenta = "#bb9af7";
white = "#acb0d0"; red = "#ff7a93";
yellow = "#ff9e64"; white = "#acb0d0";
}; yellow = "#ff9e64";
colors.normal = { };
black = "#32344a"; colors.normal = {
blue = "#7aa2f7"; black = "#32344a";
cyan = "#449dab"; blue = "#7aa2f7";
green = "#9ece6a"; cyan = "#449dab";
magenta = "#ad8ee6"; green = "#9ece6a";
red = "#f7768e"; magenta = "#ad8ee6";
white = "#787c99"; red = "#f7768e";
yellow = "#e0af68"; white = "#787c99";
}; yellow = "#e0af68";
colors.primary = { };
background = "#1a1b26"; colors.primary = {
foreground = "#a9b1d6"; background = "#1a1b26";
}; 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"; {
auto-format = true; name = "nix";
formatter.command = "${pkgs.nixfmt}/bin/nixfmt"; auto-format = true;
language-servers = [ "nixd" ]; formatter.command = "${pkgs.nixfmt}/bin/nixfmt";
}]; 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
];
}; };
} }