chore: faster builds, fzf lua

This commit is contained in:
Harivansh Rathi 2026-04-18 14:35:56 -04:00
parent 80efbae1e9
commit 9541a345bf
8 changed files with 52 additions and 25 deletions

View file

@ -1,10 +1,22 @@
{ ... }:
{
inputs,
lib,
...
}:
{
perSystem =
{ pkgs, ... }:
{ pkgs, system, ... }:
{
formatter = pkgs.nixfmt-tree;
packages =
{
home-manager = inputs.home-manager.packages.${system}.home-manager;
}
// lib.optionalAttrs (lib.hasSuffix "darwin" system) {
darwin-rebuild = inputs.nix-darwin.packages.${system}.darwin-rebuild;
};
devShells.default = pkgs.mkShell {
packages = with pkgs; [
deadnix

View file

@ -6,7 +6,9 @@
onActivation = {
autoUpdate = false;
upgrade = false;
cleanup = "uninstall";
# `brew bundle --cleanup` is by far the slowest part of darwin activation
# on this machine. Keep switches fast and do cleanup manually when needed.
cleanup = "none";
};
taps = [