fix(darwin): update alacritty & zellij

This commit is contained in:
Ryan Yin
2024-11-13 00:43:25 +08:00
parent 4cbc4a2724
commit 86d6f88484
3 changed files with 17 additions and 5 deletions

View File

@@ -1,4 +1,8 @@
{pkgs, ...}:
{
pkgs,
pkgs-unstable,
...
}:
###########################################################
#
# Alacritty Configuration
@@ -22,6 +26,7 @@
{
programs.alacritty = {
enable = true;
package = pkgs-unstable.alacritty;
# https://alacritty.org/config-alacritty.html
settings = {
general.import = [

View File

@@ -1,13 +1,20 @@
{pkgs-stable, ...}: let
{
pkgs,
pkgs-stable,
...
}: let
shellAliases = {
"zj" = "zellij";
};
in {
programs.zellij = {
enable = true;
# Revert to old v0.40.1 to fix:
# [Linux] Revert to old v0.40.1 to fix:
# https://github.com/zellij-org/zellij/issues/3592
package = pkgs-stable.zellij;
package =
if pkgs.stdenv.isLinux
then pkgs-stable.zellij
else pkgs.zellij;
};
# auto start zellij in nushell
programs.nushell.extraConfig = ''

View File

@@ -87,7 +87,7 @@ in {
# homebrew need to be installed manually, see https://brew.sh
# https://github.com/LnL7/nix-darwin/blob/master/modules/homebrew.nix
homebrew = {
enable = true; # disable homebrew for fast deploy
enable = false; # disable homebrew for fast deploy
onActivation = {
autoUpdate = true; # Fetch the newest stable branch of Homebrew's git repo