mirror of
https://github.com/kittywitch/nixfiles.git
synced 2026-02-09 04:19:19 -08:00
20 lines
497 B
Nix
20 lines
497 B
Nix
{ config, lib, pkgs, ... }: let
|
|
inherit (lib.modules) mkIf;
|
|
inherit (lib.options) mkEnableOption;
|
|
in {
|
|
options.programs.wezterm = {
|
|
enable = mkEnableOption "the wezterm terminal emulator";
|
|
};
|
|
config = mkIf config.programs.wezterm.enable {
|
|
home.packages = [
|
|
pkgs.wezterm
|
|
];
|
|
xdg.configFile."wezterm/wezterm.lua".text = ''
|
|
local = wezterm = require 'wezterm'
|
|
return {
|
|
check_for_updates = false,
|
|
enable_tab_bar = true
|
|
}
|
|
'';
|
|
};
|
|
}
|