DEVELOPMENT ENVIRONMENT

~liljamo/nix-arta

ec758369776118a432304fad11375a7872efd822 — Jonni Liljamo 4 days ago 7ef6a72
feat: foot
2 files changed, 52 insertions(+), 0 deletions(-)

M modules/group/compositor.nix
A modules/nixos/foot.nix
M modules/group/compositor.nix => modules/group/compositor.nix +1 -0
@@ 5,6 5,7 @@ Common dependencies for Wayland compositors
  flake.modules.nixos.groupCompositor = {...}: {
    imports = with config.flake.modules.nixos; [
      fonts
      foot
      mako
    ];
  };

A modules/nixos/foot.nix => modules/nixos/foot.nix +51 -0
@@ 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;
        };
      };
    };
  };
}