mirror of
https://github.com/ryan4yin/nix-config.git
synced 2026-01-11 20:40:24 +01:00
fix(darwin): update alacritty & zellij
This commit is contained in:
@@ -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 = [
|
||||
|
||||
@@ -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 = ''
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user