nixcfg/modules/darwin/services/base/default.nix
Harald Hoyer 64ed5ca881 feat(nix): enable WezTerm support on Darwin systems
- Added a module to configure WezTerm with an enable option and system package inclusion.
- Enabled WezTerm for aarch64-darwin systems and updated base system packages.
- Improves terminal experience by integrating WezTerm into the Darwin configurations.
2026-02-13 19:44:31 +01:00

67 lines
1.1 KiB
Nix

{
config,
lib,
pkgs,
...
}:
with lib;
with lib.metacfg;
let
cfg = config.metacfg.base;
in
{
options.metacfg.base = with types; {
enable = mkBoolOpt false "Whether or not to enable the base config.";
};
config = mkIf cfg.enable {
environment = {
systemPackages = with pkgs; [
age
delta
git
git-crypt
git-delete-merged-branches
home-manager
htop
mosh
nixpkgs-fmt
openssl
openssh
restic
ripgrep
rrsync
sops
tailscale
tmux
vim
wget
ssh-tresor
starship
wezterm
];
shells = [
pkgs.fish
pkgs.bash
pkgs.zsh
];
};
programs = {
fish.enable = true;
vim.enable = true;
bash = {
## shellInit = ''
interactiveShellInit = ''
bind '"\e[A": history-search-backward'
bind '"\e[B": history-search-forward'
'';
};
};
security = {
pam.services.sudo_local.touchIdAuth = true;
};
};
}