feat: add alacritty
This commit is contained in:
parent
c1c279a0ae
commit
c56561aa35
2 changed files with 46 additions and 1 deletions
|
@ -1,6 +1,22 @@
|
|||
{ config, pkgs, ... }:
|
||||
{ config, pkgs, lib, ... }:
|
||||
|
||||
with pkgs; with lib;
|
||||
let
|
||||
yamlToJSON = path: runCommand "yaml.json" { nativeBuildInputs = [ pkgs.ruby ]; } ''
|
||||
ruby -rjson -ryaml -e "puts YAML.load(ARGF).to_json" < ${path} > $out
|
||||
'';
|
||||
in
|
||||
{
|
||||
# doesn't support font ligatures yet
|
||||
# emoji support needs to be setup
|
||||
# use with tabbed for tab support: tabbed -c alacritty --embed
|
||||
# TODO create PR for adding programs.alacritty.package
|
||||
programs.alacritty = {
|
||||
enable = true;
|
||||
settings = recursiveUpdate {
|
||||
} (trivial.importJSON (yamlToJSON ./alacritty-gruvbox-dark.yml));
|
||||
};
|
||||
|
||||
programs.kitty = {
|
||||
enable = true;
|
||||
font = {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue