nix

configuration files that power my machines
Log | Files | Refs | README | LICENSE

commit b5d6f2668bdee6b3832dae541f85248302cceb32
parent d22ef44738b3c6942da01760b8d60a19b8f41560
Author: mtmn <miro@haravara.org>
Date:   Thu,  9 Apr 2026 15:20:53 +0200

chore: clean justfile

Diffstat:
Mjustfile | 25++++++++++---------------
1 file changed, 10 insertions(+), 15 deletions(-)

diff --git a/justfile b/justfile @@ -2,9 +2,7 @@ default: @just --list check: - nix flake check --extra-experimental-features "nix-command flakes" --no-update-lock-file 2>&1 | grep -vE "unknown flake output '(deploy|configData)'" -show: - nix flake show --extra-experimental-features "nix-command flakes" + nix flake check --no-update-lock-file 2>&1 | grep -vE "unknown flake output '(deploy|configData)'" fmt: alejandra $(git rev-parse --show-toplevel) @@ -12,25 +10,22 @@ fmt: deadnix: deadnix $(git rev-parse --show-toplevel) +deploy host="nixaran": + @backup nix + nix run github:serokell/deploy-rs .#{{ host }} 2>&1 | grep -vE "unknown flake output '(deploy|configData)'" + +update: + nix flake update + install host: - ./hack/install_anywhere {{host}} + ./hack/install_anywhere {{ host }} diff host="nixaran": - nix run github:serokell/deploy-rs -- --dry-activate .#{{host}} 2>&1 | grep -vE "unknown flake output '(deploy|configData)'" - -diff-local: - @nix build .#homeConfigurations."miro@amen".activationPackage --no-link --print-out-paths | xargs nvd diff ~/.local/state/nix/profiles/home-manager + nix run github:serokell/deploy-rs -- --dry-activate .#{{ host }} 2>&1 | grep -vE "unknown flake output '(deploy|configData)'" local: nh home switch "$(git rev-parse --show-toplevel)" -deploy host="nixaran": - @backup nix - nix run github:serokell/deploy-rs .#{{host}} 2>&1 | grep -vE "unknown flake output '(deploy|configData)'" - -update: - nix flake update --extra-experimental-features "nix-command flakes" - gc: nix-store --gc nix-collect-garbage -d