55 lines
1.4 KiB
Nix
55 lines
1.4 KiB
Nix
{ lib, pkgs, config, ... }:
|
|
with lib;
|
|
let
|
|
cfg = config.eboskma.programs.foot;
|
|
in
|
|
{
|
|
options.eboskma.programs.foot = {
|
|
enable = mkEnableOption "activate foot";
|
|
server = mkEnableOption "enable foot server";
|
|
};
|
|
|
|
config = mkIf cfg.enable {
|
|
programs.foot = {
|
|
enable = true;
|
|
server.enable = cfg.server;
|
|
|
|
settings = {
|
|
main = {
|
|
font = "Iosevka Nerd Font:size=10";
|
|
dpi-aware = "yes";
|
|
};
|
|
|
|
mouse = {
|
|
hide-when-typing = "yes";
|
|
};
|
|
|
|
cursor = {
|
|
color = "282a36 f8f8f2";
|
|
};
|
|
|
|
colors = {
|
|
alpha = 0.9;
|
|
foreground = "f8f8f2";
|
|
background = "282a36";
|
|
regular0 = "000000"; # black
|
|
regular1 = "ff5555"; # red
|
|
regular2 = "50fa7b"; # green
|
|
regular3 = "f1fa8c"; # yellow
|
|
regular4 = "bd93f9"; # blue
|
|
regular5 = "ff79c6"; # magenta
|
|
regular6 = "8be9fd"; # cyan
|
|
regular7 = "bfbfbf"; # white
|
|
bright0 = "4d4d4d"; # bright black
|
|
bright1 = "ff6e67"; # bright red
|
|
bright2 = "5af78e"; # bright green
|
|
bright3 = "f4f99d"; # bright yellow
|
|
bright4 = "caa9fa"; # bright blue
|
|
bright5 = "ff92d0"; # bright magenta
|
|
bright6 = "9aedfe"; # bright cyan
|
|
bright7 = "e6e6e6"; # bright white
|
|
};
|
|
};
|
|
};
|
|
};
|
|
}
|