[mac] Some terminal updates

This commit is contained in:
Drew Haven
2025-02-13 11:07:51 -08:00
parent e642c86e21
commit aeba8d04f8
5 changed files with 32 additions and 3 deletions

View File

@@ -0,0 +1,11 @@
# Meta-package for development on linux
{ lib, ... }:
{
imports = [
./development.nix
];
# OS X seems to render these fonts a bit smaller than Linux
programs.alacritty.settings.font.size = lib.mkForce 14;
}

View File

@@ -1,3 +1,6 @@
-- Options are automatically loaded before lazy.nvim startup
-- Default options that are always set: https://github.com/LazyVim/LazyVim/blob/main/lua/lazyvim/config/options.lua
-- Add any additional options here
-- Creates a shortcut for adding the directory of the current buffer when specifying a file
vim.cmd.('cnoreabbrev %. %:h<Tab>')

View File

@@ -72,4 +72,19 @@
};
};
};
programs.ssh = {
enable = true;
matchBlocks = {
"*" = {
setEnv = {
# Alacritty sets it's terminfo to 'alacritty' so that environments can have
# complete functionality support. However, this doesn't work well when making
# remove connections. So we set it to 'xterm-256color' which is a more common
# terminfo.
"TERM" = "xterm-256color";
};
};
};
};
}

View File

@@ -1,7 +1,7 @@
{ pkgs, self, ... }:
{
imports = [
../../../home-manager/features/development.nix
../../../home-manager/features/development-macos.nix
../../../home-manager/features/kubernetes.nix
../../../home-manager/features/macos
../../../home-manager/features/nix.nix