nixos/modules/desktop/wezterm/default.nix
2024-08-01 16:24:09 +04:00

27 lines
453 B
Nix

{
options,
config,
lib,
pkgs,
...
}:
let
cfg = config.modules.desktop.wezterm;
in {
options.modules.desktop.wezterm = {
enable = lib.mkEnableOption false;
};
config = lib.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;
};
};
};
}