diff options
author | Soispha <soispha@vhack.eu> | 2023-07-02 13:01:36 +0200 |
---|---|---|
committer | Soispha <soispha@vhack.eu> | 2023-07-10 16:44:20 +0200 |
commit | eb6a837828134ef034a6ee9b0feec197c52f8bc7 (patch) | |
tree | ed4dc09af0182e058534866935974bfba3f6f5f4 /bootstrap/01_activate | |
parent | Fix(system/disks): Add remainder about bootable option (diff) | |
download | nixos-config-eb6a837828134ef034a6ee9b0feec197c52f8bc7.tar.gz nixos-config-eb6a837828134ef034a6ee9b0feec197c52f8bc7.zip |
Fix(bootstrap): Only set environment variables once
Diffstat (limited to 'bootstrap/01_activate')
-rwxr-xr-x | bootstrap/01_activate | 7 |
1 files changed, 3 insertions, 4 deletions
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 |