aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorIsmaël Bouya <ismael.bouya@normalesup.org>2020-04-20 01:58:14 +0200
committerIsmaël Bouya <ismael.bouya@normalesup.org>2020-04-20 02:17:17 +0200
commite94cd212b4a43296d44876b3c5f7113e9f5b9727 (patch)
tree292bfe25517e1993368f10aa5d14071d8d6fdf7d /Makefile
parentd3452fc59b9839846225fd254926c64a9c71f071 (diff)
downloadNix-e94cd212b4a43296d44876b3c5f7113e9f5b9727.tar.gz
Nix-e94cd212b4a43296d44876b3c5f7113e9f5b9727.tar.zst
Nix-e94cd212b4a43296d44876b3c5f7113e9f5b9727.zip
Remove useless scripts after migration to home-manager
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile26
1 files changed, 2 insertions, 24 deletions
diff --git a/Makefile b/Makefile
index fafbe00..d5b8e5a 100644
--- a/Makefile
+++ b/Makefile
@@ -1,4 +1,4 @@
1subrecipes = setup 1subrecipes = setup nix-info
2subrecipes += nixops ssh-eldiron ssh-backup-2 ssh-monitoring-1 2subrecipes += nixops ssh-eldiron ssh-backup-2 ssh-monitoring-1
3subrecipes += info debug dry-run build upload deploy deploy-reboot reboot 3subrecipes += info debug dry-run build upload deploy deploy-reboot reboot
4subrecipes += list-generations delete-generations cleanup 4subrecipes += list-generations delete-generations cleanup
@@ -7,28 +7,6 @@ ${subrecipes}:
7 @$(MAKE) --no-print-directory -C nixops/ $@ 7 @$(MAKE) --no-print-directory -C nixops/ $@
8.PHONY: ${subrecipes} 8.PHONY: ${subrecipes}
9 9
10# This will automatically upgrade to latest version at each build
11nixpkgs ?= https://nixos.org/channels/nixos-19.03/nixexprs.tar.xz
12NIX_PATH = nixpkgs=${nixpkgs}:nixpkgsNext=${nixpkgs}:nixpkgsPrevious=${nixpkgs}
13
14nix-path:
15 @echo "export NIX_PATH=$(NIX_PATH)"
16
17env:
18 ./scripts/make-env
19
20env-dry-run:
21 ./scripts/make-env --dry-run
22
23nix-info:
24 @version=$$(nix eval --option tarball-ttl 1 --raw nixpkgs.lib.version) && \
25 mainversion=$$(echo $$version | cut -d"." -f -2) && \
26 echo "https://releases.nixos.org/nixos/$$mainversion/nixos-$$version/nixexprs.tar.xz" && \
27 nix-instantiate --find-file nixpkgs
28
29nix-info-nixops:
30 @$(MAKE) --no-print-directory -C nixops/ nix-info
31
32nur: 10nur:
33 ./scripts/make-nur 11 ./scripts/make-nur
34 curl -o /dev/null -XPOST "https://nur-update.herokuapp.com/update?repo=immae" 12 curl -o /dev/null -XPOST "https://nur-update.herokuapp.com/update?repo=immae"
@@ -36,4 +14,4 @@ nur:
36shellcheck: 14shellcheck:
37 shellcheck scripts/* nixops/scripts/* modules/private/gitolite/gitolite_ldap_groups.sh modules/private/ssh/ldap_authorized_keys.sh modules/private/pub/restrict 15 shellcheck scripts/* nixops/scripts/* modules/private/gitolite/gitolite_ldap_groups.sh modules/private/ssh/ldap_authorized_keys.sh modules/private/pub/restrict
38 16
39.PHONY: env env-dry-run nix-info nur shellcheck 17.PHONY: nur shellcheck