mirror of
https://github.com/ryan4yin/nix-config.git
synced 2026-04-24 17:58:30 +02:00
fix: nix-darwin with nixos-23.11
This commit is contained in:
@@ -1,8 +1,5 @@
|
||||
{
|
||||
lib,
|
||||
pkgs,
|
||||
pkgs-unstable,
|
||||
catppuccin-wezterm,
|
||||
...
|
||||
}:
|
||||
###########################################################
|
||||
@@ -15,11 +12,14 @@
|
||||
{
|
||||
# wezterm has catppuccin theme built-in,
|
||||
# it's not necessary to install it separately.
|
||||
# xdg.configFile."wezterm/colors".source = "${catppuccin-wezterm}/dist";
|
||||
|
||||
programs.wezterm = {
|
||||
enable = true;
|
||||
package = pkgs-unstable.wezterm;
|
||||
package = if pkgs.stdenv.isDarwin
|
||||
then
|
||||
pkgs.hello # install wezterm via homebrew on macOS to avoid compilation, dummy package here.
|
||||
else
|
||||
pkgs.wezterm;
|
||||
|
||||
extraConfig =
|
||||
let
|
||||
|
||||
Reference in New Issue
Block a user