From 1049601e0b07627ef967d1092adc04022598648b Mon Sep 17 00:00:00 2001 From: Stefan Weigl-Bosker Date: Sat, 22 Feb 2025 19:11:05 -0500 Subject: started flake config --- modules/foot.nix | 63 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 63 insertions(+) create mode 100644 modules/foot.nix (limited to 'modules/foot.nix') diff --git a/modules/foot.nix b/modules/foot.nix new file mode 100644 index 0000000..07ef2ce --- /dev/null +++ b/modules/foot.nix @@ -0,0 +1,63 @@ +{ config, lib, pkgs, ... }: +let + inherit lib config; + cfg = config.modules.foot; +in +{ + options.modules.foot = { + enable = lib.mkEnableOption "foot"; + }; + + config = { + programs.foot = { + enable = cfg.enable; + server = { + enable = true; + }; + settings = { + main = { + font="ComicShannsMono Nerd Font Mono:size=12"; + title="term"; + resize-by-cells="no"; + pad="0x0 center"; + }; + + desktop-notifications.command = "notify-send -a \${app-id} -i \${app-id} \${title} \${body}"; + url.label-letters="arstneio"; + + cursor = { + style="block"; + blink="no"; + color="0f0f0f cacaca"; + }; + + colors = { + foreground="cacaca"; + background="0f0f0f"; + regular0="0f0f0f"; + regular1="ac8a8c"; + regular2="8aac8b"; + regular3="aca98a"; + regular4="8f8aac"; + regular5="ac8aac"; + regular6="8aabac"; + regular7="cacaca"; + bright0="262626 "; + bright1="c49ea0 "; + bright2="9ec49f "; + bright3="c4c19e "; + bright4="a39ec4 "; + bright5="c49ec4 "; + bright6="9ec3c4 "; + bright7="f5f5f5 "; + "16"="ceb188"; + "17"="ac8a8c"; + "18"="191919"; + "19"="262626"; + "20"="ac8a8c"; + "21"="e7e7e7"; + }; + }; + }; + }; +} -- cgit v1.2.3