Organise NixOS and Home Manager modules

This commit is contained in:
Oliver Davies 2024-11-05 18:55:05 +00:00
parent 501b5cd011
commit 3c7aa3f03e
31 changed files with 26 additions and 25 deletions

View file

@ -0,0 +1,42 @@
{
lib,
pkgs,
self,
...
}:
let
inherit (lib) strings;
inherit (strings) toInt;
theme = import "${self}/lib/theme" { inherit pkgs; };
in
{
programs.alacritty = {
enable = true;
settings = {
env = {
TERM = "screen-256color";
};
window.padding = {
x = 15;
y = 15;
};
font = {
size = toInt "${theme.fonts.monospace.size}";
bold.style = "Regular";
normal.family = "${theme.fonts.monospace.name}";
offset.y = 12;
glyph_offset.y = 6;
};
shell = {
program = "zsh";
};
};
};
}