This commit is contained in:
Alejandro Angulo 2023-03-11 19:59:11 -08:00
parent 1231503914
commit c15ee0a39b
Signed by: alejandro-angulo
GPG key ID: 75579581C74554B6
30 changed files with 703 additions and 118 deletions

View file

@ -0,0 +1,48 @@
{
options,
config,
lib,
pkgs,
...
}:
with lib; let
cfg = config.aa.desktop.addons.alacritty;
in {
options.aa.desktop.addons.alacritty = with types; {
enable = mkEnableOption "alacritty";
};
config = mkIf cfg.enable {
aa.desktop.addons.fonts.enable = true;
aa.home = {
extraOptions = {
programs.alacritty = {
enable = true;
settings = {
window.opacity = 0.9;
font = {
size = 11.0;
normal = {
family = "Hack Nerd Font";
style = "Regular";
};
bold = {
family = "Hack Nerd Font";
style = "Bold";
};
italic = {
family = "Hack Nerd Font";
style = "Italic";
};
bold_italic = {
family = "Hack Nerd Font";
style = "Bold Italic";
};
};
};
};
};
};
};
}

View file

@ -0,0 +1,20 @@
{
options,
config,
pkgs,
lib,
...
}:
with lib; let
cfg = config.aa.desktop.addons.fonts;
in {
options.aa.desktop.addons.fonts = with types; {
enable = mkEnableOption "manage fonts";
};
config = mkIf cfg.enable {
fonts.fonts = with pkgs; [
(nerdfonts.override {fonts = ["Hack"];})
];
};
}

View file

@ -0,0 +1,27 @@
{
options,
config,
pkgs,
lib,
...
}:
with lib; let
cfg = config.aa.desktop.addons.rofi;
in {
options.aa.desktop.addons.rofi = with types; {
enable = mkEnableOption "rofi";
};
config = mkIf cfg.enable {
aa.home.extraOptions = {
programs.rofi = {
enable = true;
font = "Hack Nerd Font 10";
theme = "gruvbox-dark-hard";
extraConfig = {
show-icons = true;
};
};
};
};
}