23 lines
374 B
Nix
23 lines
374 B
Nix
{
|
|
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 = {
|
|
programs.foot = {
|
|
enable = true;
|
|
settings = {
|
|
main = {
|
|
term = "xterm-256color";
|
|
};
|
|
};
|
|
};
|
|
};
|
|
};
|
|
}
|