2 Commits
Author SHA1 Message Date
Noah Masur 4047cae211 enable calibre on macos through homebrew
broken build from nix on macos
2026-08-10 09:29:44 -04:00
Noah Masur e70661a623 attempt to fix shell lagging after exiting tuis 2026-08-09 09:53:44 -04:00
3 changed files with 10 additions and 1 deletions
@@ -14,9 +14,14 @@ in
options.nmasur.presets.programs.calibre.enable = lib.mkEnableOption "Calibre e-book manager";
config = lib.mkIf cfg.enable {
home.packages = [ pkgs.calibre ];
home.packages = lib.mkIf pkgs.stdenv.isLinux [ pkgs.calibre ];
home.sessionVariables = {
CALIBRE_USE_DARK_PALETTE = 1;
};
home.file.".Brewfile".text = lib.mkIf pkgs.stdenv.isDarwin /* homebrew */ ''
cask "calibre" # Nix package broken on macOS
'';
};
}
@@ -69,6 +69,9 @@ in
set -g fish_cursor_insert line
set -g fish_cursor_visual block
set -g fish_cursor_replace_one underscore
# Fix for lagging after exiting TUIs with Zellij and Ghostty
set -a fish_features no-query-term
'';
loginShellInit = "";
shellAbbrs = {
@@ -25,6 +25,7 @@ in
menubar.enable = lib.mkDefault true;
};
programs = {
calibre.enable = lib.mkDefault true;
fish-darwin.enable = lib.mkDefault true;
homebrew.enable = lib.mkDefault true;
nixpkgs-darwin.enable = lib.mkDefault true;