terminal variables for usage with tuirun

This commit is contained in:
cnst
2024-09-22 10:22:36 +02:00
parent 82c28080f8
commit 6f53da8393
5 changed files with 56 additions and 54 deletions

View File

@@ -1,16 +1,16 @@
{ config
, lib
, ...
}:
let
{
config,
lib,
...
}: let
inherit (lib) mkIf mkEnableOption;
cfg = config.modules.terminal.kitty;
in
{
in {
options = {
modules.terminal.kitty.enable = mkEnableOption "Enables kitty terminal";
};
config = mkIf cfg.enable {
home.sessionVariables.TERMINAL = "kitty";
programs.kitty = {
enable = true;
settings = {