make terminal module default module thingy

This commit is contained in:
Schrottkatze 2024-03-05 18:51:30 +01:00
parent 7bacabf0d3
commit 2a5e635c0d
Signed by: schrottkatze
SSH key fingerprint: SHA256:hXb3t1vINBFCiDCmhRABHX5ocdbLiKyCdKI4HK2Rbbc

View file

@ -1,17 +1,5 @@
{
config,
lib,
pkgs,
...
}: let
cfg = config.jade.terminal;
in
with lib; {
options.jade.terminal = {
enable = mkEnableOption "Enable Kitty";
};
config = mkIf cfg.enable {
environment.sessionVariables = rec {
{...}: {
environment.sessionVariables = {
TERMINAL = "kitty";
};
home-manager.users.jade = {pkgs, ...}: {
@ -45,5 +33,4 @@ in
};
};
};
};
}