2024-07-07 13:31:42 +04:00
|
|
|
{
|
|
|
|
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
|
|
|
|
];
|
2024-07-07 13:45:37 +04:00
|
|
|
|
2024-07-07 14:08:09 +04:00
|
|
|
home-manager.users.asko = {...}: {
|
|
|
|
home.file.".wezterm.lua" = {
|
|
|
|
enable = true;
|
|
|
|
source = ../../../config/wezterm/wezterm.lua;
|
|
|
|
};
|
2024-07-07 13:45:37 +04:00
|
|
|
};
|
2024-07-07 13:31:42 +04:00
|
|
|
};
|
|
|
|
}
|