snowflake/user/subs/foot.nix
2025-06-05 00:28:43 +08:00

44 lines
797 B
Nix

{ config, lib, ... }:
let
cfg = config.subs.foot;
in
{
imports = [
../../shared/hyprland.nix
];
options = {
subs.foot.enable = lib.mkOption {
default = config.shared.hyprland.enable;
type = lib.types.bool;
};
};
config = lib.mkIf cfg.enable {
programs.foot = {
enable = true;
server.enable = true;
settings = {
main = {
include = "~/.config/foot/themes/dracula";
term = "xterm-256color";
font = "Iosevka NF Medium:size=13";
dpi-aware = "yes";
};
bell = {
system = "no";
};
scrollback = {
lines = 10000;
};
};
};
home.file = {
".config/foot/themes/dracula".source = ../../config/foot-dracula;
};
};
}