diff options
author | Soispha <soispha@vhack.eu> | 2023-07-02 14:28:30 +0200 |
---|---|---|
committer | Soispha <soispha@vhack.eu> | 2023-07-10 16:44:26 +0200 |
commit | d58fa72a1288a2b2a8453d16343b23e5c7835044 (patch) | |
tree | 4b572ca9093acf9f9fb04551719c71fb90fa5458 | |
parent | Fix(hosts/apzu): Update disk to new disko install (diff) | |
download | nixos-config-d58fa72a1288a2b2a8453d16343b23e5c7835044.tar.gz nixos-config-d58fa72a1288a2b2a8453d16343b23e5c7835044.zip |
Fix(bootstrap): Specify experimental-features before arguments to disko
-rwxr-xr-x | bootstrap/01_activate | 2 | ||||
-rwxr-xr-x | bootstrap/01_install | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/bootstrap/01_activate b/bootstrap/01_activate index 32bdfe28..0b512471 100755 --- a/bootstrap/01_activate +++ b/bootstrap/01_activate @@ -5,7 +5,7 @@ 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 --experimental-features 'nix-command flakes' -- --flake "git+https://codeberg.org/soispha/nixos-config#$NIX_HOST" --mode mount msg "Finished mounting" diff --git a/bootstrap/01_install b/bootstrap/01_install index f1d5cc6f..da0a2f9a 100755 --- a/bootstrap/01_install +++ b/bootstrap/01_install @@ -22,7 +22,7 @@ while [ "$info_applied" = false ]; do done msg "Started creating filesystem..." -nix run github:nix-community/disko -- --flake "git+https://codeberg.org/soispha/nixos-config#$NIX_HOST" --mode disko --experimental-features 'nix-command flakes' +nix run github:nix-community/disko --experimental-features 'nix-command flakes' -- --flake "git+https://codeberg.org/soispha/nixos-config#$NIX_HOST" --mode disko msg "Finished mounting and generating btrfs subvolumes" msg "Creating swapfile..." |