add alacritty
This commit is contained in:
parent
f8361de04a
commit
0efd7a97f4
3 changed files with 23 additions and 1 deletions
22
modules/home/tools/alacritty/default.nix
Normal file
22
modules/home/tools/alacritty/default.nix
Normal file
|
@ -0,0 +1,22 @@
|
|||
{ lib
|
||||
, config
|
||||
, pkgs
|
||||
, ...
|
||||
}:
|
||||
let
|
||||
inherit (lib) mkEnableOption mkIf;
|
||||
|
||||
cfg = config.plusultra.tools.alacritty;
|
||||
in
|
||||
{
|
||||
options.plusultra.tools.alacritty = {
|
||||
enable = mkEnableOption "alacritty";
|
||||
};
|
||||
|
||||
config = mkIf cfg.enable {
|
||||
home.packages = with pkgs; [
|
||||
alacritty
|
||||
(pkgs.nerdfonts.override { fonts = [ "FiraCode" "DroidSansMono" "JetBrainsMono" ]; })
|
||||
];
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue