From ec758369776118a432304fad11375a7872efd822 Mon Sep 17 00:00:00 2001 From: Jonni Liljamo Date: Mon, 8 Dec 2025 19:50:24 +0200 Subject: [PATCH] feat: foot --- modules/group/compositor.nix | 1 + modules/nixos/foot.nix | 51 ++++++++++++++++++++++++++++++++++++ 2 files changed, 52 insertions(+) create mode 100644 modules/nixos/foot.nix diff --git a/modules/group/compositor.nix b/modules/group/compositor.nix index 5a1e28c..a4165d5 100644 --- a/modules/group/compositor.nix +++ b/modules/group/compositor.nix @@ -5,6 +5,7 @@ Common dependencies for Wayland compositors flake.modules.nixos.groupCompositor = {...}: { imports = with config.flake.modules.nixos; [ fonts + foot mako ]; }; diff --git a/modules/nixos/foot.nix b/modules/nixos/foot.nix new file mode 100644 index 0000000..a426458 --- /dev/null +++ b/modules/nixos/foot.nix @@ -0,0 +1,51 @@ +{ + flake.modules.nixos.foot = {lib, ...}: let + col = lib.arta.colours.everforest; + in { + programs.foot = { + enable = true; + settings = { + main = { + shell = "elvish"; + + font = "FiraCode Nerd Font Mono:size=12"; + + pad = "10x10"; + }; + + bell.system = "no"; + url.osc8-underline = "always"; + + colors = { + alpha = 0.9; + alpha-mode = "matching"; + + foreground = col.fg; + background = col.bg0; + + selection-foreground = col.grey2; + selection-background = col.bg_visual; + + urls = col.blue; + + regular0 = col.statusline.grey; + regular1 = col.red; + regular2 = col.green; + regular3 = col.yellow; + regular4 = col.blue; + regular5 = col.purple; + regular6 = col.aqua; + regular7 = col.grey1; + bright0 = col.grey2; + bright1 = col.statusline.red; + bright2 = col.statusline.green; + bright3 = col.yellow; + bright4 = col.blue; + bright5 = col.purple; + bright6 = col.aqua; + bright7 = col.grey0; + }; + }; + }; + }; +} -- 2.44.1