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,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;