about summary refs log blame commit diff stats
path: root/hm/soispha/conf/alacritty/default.nix
blob: f595c0147aeb020c08f1f605bcb441384d5a9a6e (plain) (tree)
1
2
3
4
5
6
7
8
               
                                                                                                                     
                                               
                                               
                                                 
                                                      


                                                 
                                                





                                                         
     
                        
                  
    
                                                              
 
{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/colors.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;
}