feat(desktop): move terminal config to homes and use home-manager modules
This commit is contained in:
parent
ee2dfd8398
commit
a04688d17b
6 changed files with 30 additions and 25 deletions
|
@ -1,23 +0,0 @@
|
|||
{
|
||||
osConfig,
|
||||
lib,
|
||||
pkgs,
|
||||
...
|
||||
}:
|
||||
{
|
||||
config = lib.mkMerge [
|
||||
(lib.mkIf (osConfig.desktop.terminal == "kitty") {
|
||||
home.packages = with pkgs; [ kitty ];
|
||||
home.sessionVariables.TERMINAL = "kitty";
|
||||
})
|
||||
(lib.mkIf (osConfig.desktop.terminal == "ghostty") {
|
||||
home.sessionVariables.TERMINAL = "ghostty -e";
|
||||
programs.ghostty = {
|
||||
enable = true;
|
||||
settings = {
|
||||
confirm-close-surface = false;
|
||||
};
|
||||
};
|
||||
})
|
||||
];
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue