From eb6a837828134ef034a6ee9b0feec197c52f8bc7 Mon Sep 17 00:00:00 2001 From: Soispha Date: Sun, 2 Jul 2023 13:01:36 +0200 Subject: Fix(bootstrap): Only set environment variables once --- bootstrap/01_activate | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'bootstrap/01_activate') diff --git a/bootstrap/01_activate b/bootstrap/01_activate index b46e9145..32bdfe28 100755 --- a/bootstrap/01_activate +++ b/bootstrap/01_activate @@ -5,16 +5,15 @@ SHELL_LIBRARY_VERSION="1.1.4" . %SHELL_LIBRARY_PATH . %SCRIPT_ENSURE_CONFIG_VARIABLES -nix run github:nix-community/disko -- --flake "git+https://codeberg.org/soispha/nixos-config#$NIX_HOST" --mode mount --experimental-features 'nix-command flakes'; +nix run github:nix-community/disko -- --flake "git+https://codeberg.org/soispha/nixos-config#$NIX_HOST" --mode mount --experimental-features 'nix-command flakes' msg "Finished mounting" case "$ACTIVATE_TO_SETUP" in "yes") - nix run "git+https://codeberg.org/soispha/nixos-config#setup" --experimental-features 'nix-command flakes'; - ;; - *) + nix run "git+https://codeberg.org/soispha/nixos-config#setup" --experimental-features 'nix-command flakes' ;; + *) ;; esac # vim: ft=sh -- cgit 1.4.1