add wezterm module

This commit is contained in:
Sakooooo 2024-07-07 13:31:42 +04:00
parent 44a80339f9
commit 0e9ef6ef48
Signed by: sako
GPG key ID: 3FD715D87D7725E0
2 changed files with 21 additions and 0 deletions

View file

@ -13,6 +13,7 @@
./gnome ./gnome
# stuffs # stuffs
./kitty ./kitty
./wezterm
./browsers ./browsers
./apps ./apps
./game ./game

View file

@ -0,0 +1,20 @@
{
options,
config,
lib,
pkgs,
...
}:
with lib; let
cfg = config.modules.desktop.wezterm;
in {
options.modules.desktop.wezterm = {
enable = mkEnableOption false;
};
config = mkIf cfg.enable {
users.users.sako.packages = with pkgs; [
wezterm
];
};
}