mirror of
https://git.sr.ht/~neverness/ultima
synced 2025-01-09 19:43:52 +00:00
31 lines
797 B
Nix
31 lines
797 B
Nix
{ lib, config, True, False, ... }:
|
|
|
|
with lib;
|
|
|
|
let cfg = config.module.wm.terminals.foot;
|
|
in {
|
|
options = { module.wm.terminals.foot = { enable = mkEnableOption ""; }; };
|
|
|
|
config = mkIf cfg.enable {
|
|
programs.foot = with config.lib.stylix.colors;
|
|
True // {
|
|
server = False;
|
|
settings = {
|
|
main = {
|
|
font = lib.mkForce "JetBrainsMono Nerd Font:size=12:fontfeatures=";
|
|
pad = "10x10 center";
|
|
resize-by-cells = "yes";
|
|
letter-spacing = 0;
|
|
dpi-aware = lib.mkForce "yes";
|
|
# bold-text-in-bright = "yes";
|
|
};
|
|
cursor = {
|
|
style = "block";
|
|
color = "${base00} ${base06}";
|
|
};
|
|
mouse = { hide-when-typing = "yes"; };
|
|
};
|
|
};
|
|
};
|
|
}
|