home: terminal: make 'default' extensible

This commit is contained in:
Bruno BELANYI 2026-02-28 21:50:31 +00:00
parent 14299fc6e8
commit ea818e8584
3 changed files with 13 additions and 1 deletions

View file

@ -4,6 +4,12 @@ let
inherit (config.my.home.terminal) colors;
in
{
options.my.home.terminal = with lib; {
default = mkOption {
type = with types; nullOr (enum [ "termite" ]);
};
};
config = lib.mkIf (cfg.default == "termite") {
programs.termite = {
enable = true;