feat: add global variables for nix configs

This commit is contained in:
matt1432 2023-10-18 13:50:00 -04:00
commit e946124478
9 changed files with 59 additions and 17 deletions

View file

@ -1,6 +1,6 @@
# Home-manager module
{ lib, ... }: {
{ lib, config, ... }: {
programs.alacritty = {
enable = true;
settings = {
@ -38,7 +38,7 @@
family = "JetBrainsMono Nerd Font";
style = "Italic";
};
size = lib.mkDefault 12.5;
size = config.services.hostvars.fontSize;
};
# https://github.com/dracula/alacritty/blob/05faff15c0158712be87d200081633d9f4850a7d/dracula.yml