mirror of
https://github.com/harivansh-afk/nix.git
synced 2026-04-19 11:03:47 +00:00
chore: faster builds, fzf lua
This commit is contained in:
parent
80efbae1e9
commit
9541a345bf
8 changed files with 52 additions and 25 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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 = [
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue