2022-01-12 00:20:57 +01:00
|
|
|
{ pkgs, lib, config, ... }:
|
2022-01-10 19:25:34 +01:00
|
|
|
|
2022-01-12 00:20:57 +01:00
|
|
|
(lib.mkIf (config.riley.gui) {
|
2022-01-10 19:25:34 +01:00
|
|
|
home-manager.users."riley" = {
|
|
|
|
programs.alacritty = {
|
|
|
|
enable = true;
|
|
|
|
settings = {
|
|
|
|
|
|
|
|
window.padding = { x = 8; y = 8; };
|
|
|
|
|
|
|
|
font = {
|
|
|
|
normal = { family = "Fira Code"; style = "Regular"; };
|
|
|
|
bold = { family = "Fira Code"; style = "Medium"; };
|
|
|
|
};
|
|
|
|
|
2022-01-12 00:20:57 +01:00
|
|
|
colors = with config.riley.theme.hex; {
|
2022-01-10 19:25:34 +01:00
|
|
|
|
|
|
|
primary = {
|
|
|
|
background = background.primary;
|
|
|
|
foreground = foreground.primary;
|
|
|
|
};
|
|
|
|
|
|
|
|
normal = {
|
|
|
|
red = red.normal;
|
|
|
|
green = green.normal;
|
|
|
|
blue = blue.normal;
|
|
|
|
magenta = purple.normal;
|
|
|
|
yellow = yellow.normal;
|
|
|
|
cyan = cyan.normal;
|
|
|
|
};
|
|
|
|
|
|
|
|
bright = {
|
|
|
|
red = red.bright;
|
|
|
|
green = green.bright;
|
|
|
|
blue = blue.bright;
|
|
|
|
magenta = purple.bright;
|
|
|
|
yellow = yellow.bright;
|
|
|
|
cyan = cyan.bright;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
};
|
|
|
|
};
|
2022-01-12 00:20:57 +01:00
|
|
|
})
|