mirror of
https://git.sr.ht/~magic_rb/dotfiles
synced 2024-11-27 02:26:14 +01:00
d3e46e5413
Signed-off-by: Magic_RB <magic_rb@redalder.org>
21 lines
395 B
Nix
21 lines
395 B
Nix
{ pkgs, config, lib, ... }:
|
|
with lib;
|
|
let
|
|
cfg = config.magic_rb.programs.alacritty;
|
|
in
|
|
{
|
|
options.magic_rb.programs.alacritty = {
|
|
enable = mkEnableOption "Enable the alacritty terminal emulator";
|
|
};
|
|
|
|
config = mkIf cfg.enable {
|
|
home.packages = with pkgs; [
|
|
alacritty
|
|
];
|
|
|
|
home.file = {
|
|
".config/alacritty/alacritty.yaml".source = ./alacritty.yaml;
|
|
};
|
|
};
|
|
}
|