summaryrefslogtreecommitdiff
path: root/home/terminal/foot.nix
blob: 5c3098b8e79286ba0eaf846eb1b1b64dae8b7803 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
{pkgs, ...}:
let
  footTheme = pkgs.fetchurl {
    url = "https://codeberg.org/dnkl/foot/raw/branch/master/themes/gruvbox-dark";
    sha256 = "sha256-ubvnLgDEPGvNrwQdZRNguftg2SF5qcO1iVK0Tb5ZveI=";
  };
in
{
  programs.foot = {
    enable = true;
    settings = {
      main = {
        font="JetBrainsMonoNFM-Regular:size=14";
#        font-bold = "${font}:style=Bold:${withSize}";
#        font-italic = "${fontItalic}:style=Italic:${withSize}";
#        font-bold-italic = "${fontItalic}:style=BoldItalic:${withSize}";
        box-drawings-uses-font-glyphs = true;
        include = "${footTheme}";
};
      scrollback = {
        lines = 10000;
      };
      };
    };
  }