nixos/modules/desktop/wezterm/default.nix

25 lines
401 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.file.".wezterm.lua" = {
enable = true;
source = ../../../config/wezterm/wezterm.lua;
};
};
}