72 lines
1.5 KiB
Nix
72 lines
1.5 KiB
Nix
{
|
|
config,
|
|
pkgs,
|
|
...
|
|
}: {
|
|
# The terminal I use
|
|
# TODO: make this into a module with a configurable editor option
|
|
programs.rio = {
|
|
enable = true;
|
|
# Rio Config Docs: https://raphamorim.io/rio/docs/config
|
|
settings = {
|
|
theme = "dracula";
|
|
hide-mouse-cursor-when-typing = true;
|
|
|
|
use-fork = true; # fork (dont spawn) Rio
|
|
|
|
padding-x = 10;
|
|
padding-y = [15 10]; # top, left
|
|
|
|
window = {
|
|
width = 600;
|
|
height = 400;
|
|
};
|
|
|
|
# lines = (accumulated scroll * multiplier / divider)
|
|
scroll = {
|
|
multiplier = 3.0;
|
|
divider = 1.0;
|
|
};
|
|
|
|
fonts = {
|
|
size = 15;
|
|
features = [];
|
|
|
|
regular = {
|
|
family = "JetBrainsMono Nerd Font"; # FiraCode
|
|
style = "Normal";
|
|
weight = 400;
|
|
};
|
|
|
|
bold = {
|
|
family = "JetBrainsMono Nerd Font";
|
|
style = "Normal";
|
|
weight = 800;
|
|
};
|
|
|
|
italic = {
|
|
family = "JetBrainsMono Nerd Font";
|
|
style = "Italic";
|
|
weight = 400;
|
|
};
|
|
|
|
bold-italic = {
|
|
family = "JetBrainsMono Nerd Font";
|
|
style = "Italic";
|
|
weight = 800;
|
|
};
|
|
};
|
|
|
|
# Run when the `OpenConfigEditor` keybinding is triggered
|
|
editor = {
|
|
program = "hx"; # helix
|
|
args = [];
|
|
};
|
|
|
|
renderer = {
|
|
performance = "Low"; # High: for my PC, Low: for integrated GPUs
|
|
backend = "Automatic"; # Vulkan
|
|
};
|
|
};
|
|
};
|
|
}
|