[mac] Some terminal updates
This commit is contained in:
11
home-manager/features/development-macos.nix
Normal file
11
home-manager/features/development-macos.nix
Normal 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;
|
||||
}
|
||||
@@ -5,6 +5,6 @@
|
||||
skhd
|
||||
];
|
||||
|
||||
home.file.".yabairc".source = ./config/yabairc;
|
||||
home.file.".skhdrc".source = ./config/skhdrc;
|
||||
home.file.".yabairc".source = ./config/yabairc;
|
||||
home.file.".skhdrc".source = ./config/skhdrc;
|
||||
}
|
||||
|
||||
@@ -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>')
|
||||
|
||||
@@ -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";
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user