Add config option to make terminal the default
This commit is contained in:
@ -25,6 +25,7 @@ in
|
||||
{
|
||||
options.modules.kitty = {
|
||||
enable = lib.mkOption { default = false; };
|
||||
mkDefault = lib.mkOption { default = true; };
|
||||
};
|
||||
|
||||
config = lib.mkIf cfg.enable {
|
||||
@ -43,6 +44,10 @@ in
|
||||
};
|
||||
};
|
||||
|
||||
home.sessionVariables.TERMINAL = "kitty";
|
||||
# home.shellAliases = {
|
||||
# ssh = "kitten ssh"; # Copy kitten terminfo to remote
|
||||
# };
|
||||
|
||||
home.sessionVariables.TERMINAL = lib.mkIf cfg.mkDefault "kitty";
|
||||
};
|
||||
}
|
||||
|
Reference in New Issue
Block a user