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