From: Ismaƫl Bouya Date: Sun, 19 Apr 2020 23:58:14 +0000 (+0200) Subject: Remove useless scripts after migration to home-manager X-Git-Url: https://git.immae.eu/?a=commitdiff_plain;h=e94cd212b4a43296d44876b3c5f7113e9f5b9727;p=perso%2FImmae%2FConfig%2FNix.git Remove useless scripts after migration to home-manager --- 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 diff --git a/config/README.md b/config/README.md deleted file mode 100644 index 542f31e..0000000 --- a/config/README.md +++ /dev/null @@ -1 +0,0 @@ -Link this directory to ~/.config/nixpkgs diff --git a/config/nixRoot b/config/nixRoot deleted file mode 120000 index a96aa0e..0000000 --- a/config/nixRoot +++ /dev/null @@ -1 +0,0 @@ -.. \ No newline at end of file diff --git a/config/overlays.nix b/config/overlays.nix deleted file mode 100644 index 1040d59..0000000 --- a/config/overlays.nix +++ /dev/null @@ -1 +0,0 @@ -builtins.attrValues (import ./nixRoot/overlays) diff --git a/scripts/make-env b/scripts/make-env deleted file mode 100755 index 25aa869..0000000 --- a/scripts/make-env +++ /dev/null @@ -1,12 +0,0 @@ -#!/bin/bash - -DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )" - -eval "$(make --no-print-directory -C $(dirname $DIR) nix-path)" -nix-env -r -i -A myEnvironments.immae-eu -f "" "$@" -result=$? - -cat >> $(dirname $DIR)/versions_log <