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

@@ -10,6 +10,7 @@ in {
modules.terminal.alacritty.enable = mkEnableOption "Enables firefox";
};
config = mkIf cfg.enable {
home.sessionVariables.TERMINAL = "alacritty";
programs.alacritty = {
enable = true;
settings = {

View File

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

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 = {

View File

@@ -15,6 +15,7 @@ in {
modules.terminal.wezterm.enable = mkEnableOption "Enables wezterm terminal";
};
config = mkIf cfg.enable {
home.sessionVariables.TERMINAL = "wezterm";
programs.wezterm = {
enable = true;
package = weztermPkg;