about summary refs log tree commit diff stats
path: root/hm/soispha/conf/alacritty/default.nix
blob: 27e892bec33566391cfc003910a201fda4022253 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
{lib, ...}: let
  # NOTE: The `colorscheme.yml` import __needs__ to be __after__ the `colors.yml` import, otherwise, applying it wont
  # work. <2023-08-28>
  config_file = ''
    ${lib.strings.fileContents ./yaml/base.yml}
    ${lib.strings.fileContents ./yaml/bell.yml}
    ${lib.strings.fileContents ./yaml/null.yml} # color.yml
    ${lib.strings.fileContents ./yaml/colorscheme.yml}
    ${lib.strings.fileContents ./yaml/cursor.yml}
    ${lib.strings.fileContents ./yaml/debug.yml}
    ${lib.strings.fileContents ./yaml/env.yml}
    ${lib.strings.fileContents ./yaml/font.yml}
    ${lib.strings.fileContents ./yaml/hints.yml}
    ${lib.strings.fileContents ./yaml/key_bindings.yml}
    ${lib.strings.fileContents ./yaml/mouse.yml}
    ${lib.strings.fileContents ./yaml/mouse_bindings.yml}
    ${lib.strings.fileContents ./yaml/scrolling.yml}
    ${lib.strings.fileContents ./yaml/selection.yml}
    ${lib.strings.fileContents ./yaml/shell.yml}
    ${lib.strings.fileContents ./yaml/window.yml}
  '';
in {
  programs.alacritty = {
    enable = true;
  };
  xdg.configFile."alacritty/alacritty.yml".text = config_file;
}