config/modules/home/apps/term/rio/default.nix

61 lines
1 KiB
Nix
Raw Normal View History

2024-08-21 14:35:32 -04:00
{
lib,
config,
pkgs,
2024-10-12 19:45:59 -04:00
inputs,
2024-08-21 14:35:32 -04:00
...
}:
with lib;
with lib.custom; let
cfg = config.apps.term.rio;
in {
options.apps.term.rio = with types; {
enable = mkBoolOpt false "Enable Rio Terminal";
};
config = mkIf cfg.enable {
programs.rio = {
enable = true;
settings = {
window = {
opacity = 0.9;
blur = true;
};
padding-x = 10;
padding-y = [10 10];
navigation = {
mode = "Plain";
};
fonts = {
regular = {
2025-05-06 20:02:36 -04:00
family = fonts.mono;
2024-10-12 19:45:59 -04:00
style = "Normal";
2025-05-06 20:02:36 -04:00
weight = 400;
2024-08-21 14:35:32 -04:00
};
bold = {
2025-05-06 20:02:36 -04:00
family = fonts.mono;
2024-10-12 19:45:59 -04:00
style = "Normal";
2025-05-06 20:02:36 -04:00
weight = 700;
2024-08-21 14:35:32 -04:00
};
italic = {
2025-05-06 20:02:36 -04:00
family = fonts.mono;
2024-10-12 19:45:59 -04:00
style = "Italic";
2025-05-06 20:02:36 -04:00
weight = 400;
2024-08-21 14:35:32 -04:00
};
bold-italic = {
2025-05-06 20:02:36 -04:00
family = fonts.mono;
2024-10-12 19:45:59 -04:00
style = "Italic";
2025-05-06 20:02:36 -04:00
weight = 700;
2024-08-21 14:35:32 -04:00
};
};
};
};
};
}