begun making my home-manager config modular
This commit is contained in:
parent
97b344eb03
commit
4fcc76a32c
23 changed files with 1586 additions and 947 deletions
68
homes/modules/rio.nix
Normal file
68
homes/modules/rio.nix
Normal file
|
|
@ -0,0 +1,68 @@
|
|||
{
|
||||
config,
|
||||
pkgs,
|
||||
...
|
||||
}: {
|
||||
# The terminal I use
|
||||
# TODO: this is dependent on nvim being installed
|
||||
# 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
|
||||
|
||||
# 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 = "High";
|
||||
backend = "Automatic"; # Vulkan
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue