refactor(homeModules/desktop): move terminal config to module
This commit is contained in:
parent
26c3c43aee
commit
feff604e8f
3 changed files with 11 additions and 3 deletions
9
modules/home/desktop/terminal/default.nix
Normal file
9
modules/home/desktop/terminal/default.nix
Normal 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";
|
||||
})
|
||||
];
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue