diff --git a/Makefile b/Makefile index e89619e..880393e 100644 --- a/Makefile +++ b/Makefile @@ -1,5 +1,6 @@ all: rebuild-switch date +##--------- Commandes spécifiques pour NixOS clean: nix-collect-garbage -d --delete-older-than 15d @@ -15,22 +16,24 @@ clean-log: full-auto: submodules-update upgrade clean optimise -munin: - pushd /var/www/munin/ ; python -m SimpleHTTPServer 8000 - optimise: nix-store --optimise -push: submodules-push - git push --all - git push --tags - rebuild-switch: nixos-rebuild switch --fallback --show-trace store-repair: nix-store --verify --check-contents --repair +upgrade: + nixos-rebuild switch --upgrade --fallback --show-trace + +##--------- Commandes spécifiques pour GIT + +push: submodules-push + git push --all + git push --tags + submodules-update: #git submodule update --remote git submodule foreach git co master @@ -49,9 +52,10 @@ template: tag: submodules-tag git tag -f "$$(date +%F)-$$(hostname -s)" -upgrade: - nixos-rebuild switch --upgrade --fallback --show-trace +##--------- Munin +munin: + pushd /var/www/munin/ ; python -m SimpleHTTPServer 8000 ##--------- Gestion d'un système de fichier monté en mémoire tmpfs-create: