From e94cd212b4a43296d44876b3c5f7113e9f5b9727 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Isma=C3=ABl=20Bouya?= Date: Mon, 20 Apr 2020 01:58:14 +0200 Subject: Remove useless scripts after migration to home-manager --- Makefile | 26 ++------------------------ 1 file changed, 2 insertions(+), 24 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index fafbe00..d5b8e5a 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,4 @@ -subrecipes = setup +subrecipes = setup nix-info subrecipes += nixops ssh-eldiron ssh-backup-2 ssh-monitoring-1 subrecipes += info debug dry-run build upload deploy deploy-reboot reboot subrecipes += list-generations delete-generations cleanup @@ -7,28 +7,6 @@ ${subrecipes}: @$(MAKE) --no-print-directory -C nixops/ $@ .PHONY: ${subrecipes} -# This will automatically upgrade to latest version at each build -nixpkgs ?= https://nixos.org/channels/nixos-19.03/nixexprs.tar.xz -NIX_PATH = nixpkgs=${nixpkgs}:nixpkgsNext=${nixpkgs}:nixpkgsPrevious=${nixpkgs} - -nix-path: - @echo "export NIX_PATH=$(NIX_PATH)" - -env: - ./scripts/make-env - -env-dry-run: - ./scripts/make-env --dry-run - -nix-info: - @version=$$(nix eval --option tarball-ttl 1 --raw nixpkgs.lib.version) && \ - mainversion=$$(echo $$version | cut -d"." -f -2) && \ - echo "https://releases.nixos.org/nixos/$$mainversion/nixos-$$version/nixexprs.tar.xz" && \ - nix-instantiate --find-file nixpkgs - -nix-info-nixops: - @$(MAKE) --no-print-directory -C nixops/ nix-info - nur: ./scripts/make-nur curl -o /dev/null -XPOST "https://nur-update.herokuapp.com/update?repo=immae" @@ -36,4 +14,4 @@ nur: shellcheck: shellcheck scripts/* nixops/scripts/* modules/private/gitolite/gitolite_ldap_groups.sh modules/private/ssh/ldap_authorized_keys.sh modules/private/pub/restrict -.PHONY: env env-dry-run nix-info nur shellcheck +.PHONY: nur shellcheck -- cgit v1.2.3