refactor(homeModules/desktop): move terminal config to module

This commit is contained in:
Mohammad Rafiq 2025-05-20 12:18:06 +08:00
parent 26c3c43aee
commit feff604e8f
No known key found for this signature in database
3 changed files with 11 additions and 3 deletions

View file

@ -0,0 +1,9 @@
{ config, lib, pkgs, ... }:
{
config = lib.mkMerge [
(lib.mkIf (config.desktop.terminal == "kitty") {
home.packages = with pkgs; [ kitty ];
home.sessionVariables.TERMINAL = "kitty";
})
];
}