no fucking clue what I changed but good luck (^_^)*

This commit is contained in:
Emile Clark-Boman 2025-05-01 21:16:15 +10:00
parent b3bb2227d1
commit 35b54acb85
9 changed files with 151 additions and 21 deletions

View file

@ -0,0 +1,9 @@
{
lib,
...
}:
{
options = {
}
}

View file

@ -0,0 +1,43 @@
{pkgs, ...}: {
home = {
packages = [
pkgs.ghostty
#(pkgs.writeShellScriptBin "xterm" ''${pkgs.ghostty}/bin/ghostty "$@"'')
];
sessionVariables.TERMINAL = "ghostty";
};
programs.ghostty = {
enable = true;
settings = {
theme = "Dracula";
font-family = "Geist Nerd Font";
font-feature = ["liga" "calt"];
window-padding-x = 12;
window-padding-y = 6;
window-theme = "system";
window-height = 26;
window-width = 90;
copy-on-select = true;
gtk-single-instance = false;
adw-toolbar-style = "flat";
keybind = [
"ctrl+shift+plus=increase_font_size:1"
"ctrl+shift+minus=decrease_font_size:1"
"ctrl+h=goto_split:left"
"ctrl+l=goto_split:right"
];
};
#themes = {
#aylur-dark = colors (import ./colors.nix {scheme = "dark";});
#aylur-light = colors (import ./colors.nix {scheme = "light";});
#};
};
}

76
homes/modules/term/rio.nix Executable file
View file

@ -0,0 +1,76 @@
{
config,
pkgs,
...
}: {
home = {
packages = [
pkgs.rio
];
# currently set to ghostty (on lolcathost)
#sessionVariables.TERMINAL = "rio";
};
# 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
# 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
};
};
};
}