alacritty.nix 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. { pkgs, ... }:
  2. {
  3. programs = {
  4. alacritty = {
  5. enable = true;
  6. settings = {
  7. font = rec {
  8. #normal.family = "MonoLisa-Medium";
  9. normal.family = "JetBrains Mono";
  10. #regular.family = "MonoLisa-Medium";
  11. regular.family = "JetBrains Mono";
  12. #bold.family = "MonoLisa-Medium";
  13. bold.family = "JetBrains Mono";
  14. #bold_italic.family = "MonoLisa-Medium";
  15. bold_italic.family = "JetBrains Mono";
  16. regular = { style = "Regular"; };
  17. italic = { style = "Italic"; };
  18. bold_italic = { style = "BoldItalic"; };
  19. bold = { style = "Bold"; };
  20. size = 19;
  21. };
  22. offset = {
  23. x = 0;
  24. y = 0;
  25. };
  26. window = { opacity = 0.9; };
  27. cursor = {
  28. style = "Underline";
  29. unfocused_hollow = false;
  30. };
  31. mouse = { hide_when_typing = true; };
  32. colors = {
  33. #cursor.cursor = "#ff0018";
  34. text.cursor = "#bde077";
  35. };
  36. env = { TERM = "xterm-256color"; };
  37. };
  38. };
  39. };
  40. }