Move modules folders

This commit is contained in:
Filippo Berto 2025-09-11 14:00:31 +02:00
parent 914909009c
commit c1101e7b45
Signed by: bertof
GPG key ID: 9DBF7E6A1D2CE9ED
183 changed files with 327 additions and 327 deletions

60
hm/alacritty.nix Normal file
View file

@ -0,0 +1,60 @@
{ nixosConfig, ... }:
with nixosConfig.nix-rice.lib;
let
inherit (nixosConfig.nix-rice) rice;
strPalette = palette.toRgbHex rec {
inherit (rice.colorPalette) normal bright primary;
dim = rice.colorPalette.dark;
cursor = {
cursor = normal.white;
text = normal.black;
};
vi_mode_cursor = {
cursor = normal.white;
text = normal.black;
};
selection.background = dim.blue;
search = {
matches.background = dim.cyan;
bar = {
foreground = dim.cyan;
background = dim.yellow;
};
};
};
in
{
# Include fonts packages
home.packages = [ rice.font.monospace.package ];
programs.alacritty = {
enable = true;
settings = {
key_bindings = [
{
key = "Return";
mods = "Control|Shift";
action = "SpawnNewInstance";
}
];
# env.TERM = "xterm-256color";
env = {
TERM = "alacritty";
WINIT_X11_SCALE_FACTOR = "1";
};
scrolling.history = 3000;
font = {
normal.family = rice.font.monospace.name;
inherit (rice.font.monospace) size;
};
window.opacity = rice.opacity;
mouse = {
# hide_when_typing = true;
hints.modifiers = "Control";
};
colors = strPalette // {
selection.text = "CellForeground";
search.matches.foreground = "CellForeground";
};
};
};
}