home: terminal: make 'default' extensible
This commit is contained in:
parent
14299fc6e8
commit
ea818e8584
3 changed files with 13 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue