diff --git a/Makefile b/Makefile index abd7ba8..44d8fec 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,9 @@ GSF=git submodule foreach TIME=time +CHRONY_STATUS=chronyc tracking +CHRONY_STATS=chronyc sources -v + all: rebuild-switch date ##--------- Commandes spécifiques pour NixOS @@ -39,6 +42,11 @@ show-diff-with-current: show-roots: nix-store --gc --print-roots +show-time: + -@$(CHRONY_STATUS) + #CHRONY_STATUS='chronyc tracking' CHRONY_STATS='chronyc sources -v' ${CHRONY_STATS} && watch -d -n 20 "${CHRONY_STATUS} && echo "--" && ${CHRONY_STATS}" + -@watch -d -n 20 "$(CHRONY_STATUS) && echo "--" && $(CHRONY_STATS)" + store-repair: $(TIME) nix-store --verify --check-contents --repair