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
+6 -1
View File
@@ -1,4 +1,8 @@
{pkgs, ...}: {
pkgs,
pkgs-unstable,
...
}:
########################################################### ###########################################################
# #
# Alacritty Configuration # Alacritty Configuration
@@ -22,6 +26,7 @@
{ {
programs.alacritty = { programs.alacritty = {
enable = true; enable = true;
package = pkgs-unstable.alacritty;
# https://alacritty.org/config-alacritty.html # https://alacritty.org/config-alacritty.html
settings = { settings = {
general.import = [ general.import = [
+10 -3
View File
@@ -1,13 +1,20 @@
{pkgs-stable, ...}: let {
pkgs,
pkgs-stable,
...
}: let
shellAliases = { shellAliases = {
"zj" = "zellij"; "zj" = "zellij";
}; };
in { in {
programs.zellij = { programs.zellij = {
enable = true; 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 # 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 # auto start zellij in nushell
programs.nushell.extraConfig = '' programs.nushell.extraConfig = ''
+1 -1
View File
@@ -87,7 +87,7 @@ in {
# homebrew need to be installed manually, see https://brew.sh # homebrew need to be installed manually, see https://brew.sh
# https://github.com/LnL7/nix-darwin/blob/master/modules/homebrew.nix # https://github.com/LnL7/nix-darwin/blob/master/modules/homebrew.nix
homebrew = { homebrew = {
enable = true; # disable homebrew for fast deploy enable = false; # disable homebrew for fast deploy
onActivation = { onActivation = {
autoUpdate = true; # Fetch the newest stable branch of Homebrew's git repo autoUpdate = true; # Fetch the newest stable branch of Homebrew's git repo