dotfiles/modules/programs/foot.nix

33 lines
652 B
Nix
Raw Normal View History

2024-03-21 17:19:06 +01:00
{ config
, lib
, ...
}:
with lib;
let
cfg = config.my.programs.foot;
in
{
options.my.programs.foot.enable = mkEnableOption "foot";
config = mkIf cfg.enable {
home-manager.users.moritz = {
# HACK: to make foot server work
2024-04-21 11:54:00 +02:00
systemd.user.services.foot.Service.Environment = lib.mkForce "PATH=/run/current-system/sw/bin/";
2024-03-21 17:19:06 +01:00
programs.foot = {
enable = true;
server.enable = true;
settings = {
main = {
term = "xterm-256color";
2024-03-24 13:20:14 +01:00
font = "FiraCode Nerd Font:size=10";
};
colors = {
alpha = 0.98;
2024-03-21 17:19:06 +01:00
};
};
};
};
};
}