nixos/modules/desktop/wezterm/default.nix
2024-07-07 14:08:46 +04:00

27 lines
455 B
Nix

{
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
];
home-manager.users.sako = {...}: {
home.file.".wezterm.lua" = {
enable = true;
source = ../../../config/wezterm/wezterm.lua;
};
};
};
}