summaryrefslogtreecommitdiff
path: root/home/terminals/foot.nix
diff options
context:
space:
mode:
Diffstat (limited to 'home/terminals/foot.nix')
-rw-r--r--home/terminals/foot.nix25
1 files changed, 25 insertions, 0 deletions
diff --git a/home/terminals/foot.nix b/home/terminals/foot.nix
new file mode 100644
index 0000000..5c3098b
--- /dev/null
+++ b/home/terminals/foot.nix
@@ -0,0 +1,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;
+ };
+ };
+ };
+ }