chore: faster builds, fzf lua (#74)
Some checks are pending
quality / changes (push) Waiting to run
quality / Flake Check (push) Blocked by required conditions
quality / Nix Format Check (push) Blocked by required conditions
quality / Deploy netty (push) Blocked by required conditions

This commit is contained in:
Hari 2026-04-18 14:37:34 -04:00 committed by GitHub
parent 80efbae1e9
commit 0db4171b0b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
8 changed files with 52 additions and 25 deletions

View file

@ -15,10 +15,10 @@ build config='darwin':
switch config='darwin':
#!/usr/bin/env bash
if [[ "{{config}}" == "darwin" ]]; then
sudo env PATH="$PATH" nix --extra-experimental-features 'nix-command flakes' run github:nix-darwin/nix-darwin/master#darwin-rebuild -- switch --flake path:.#{{config}}
sudo --set-home --preserve-env=PATH nix --extra-experimental-features 'nix-command flakes' run path:.#darwin-rebuild -- switch --flake path:.#{{config}}
else
backup_ext="hm-bak-$(date +%Y%m%d-%H%M%S)"
nix --extra-experimental-features 'nix-command flakes' run github:nix-community/home-manager -- switch --flake path:.#{{config}} -b "$backup_ext"
nix --extra-experimental-features 'nix-command flakes' run path:.#home-manager -- switch --flake path:.#{{config}} -b "$backup_ext"
fi
fmt: