about summary refs log tree commit diff stats
path: root/bootstrap
diff options
context:
space:
mode:
authorSoispha <soispha@vhack.eu>2023-07-02 14:28:30 +0200
committerSoispha <soispha@vhack.eu>2023-07-10 16:44:26 +0200
commitd58fa72a1288a2b2a8453d16343b23e5c7835044 (patch)
tree4b572ca9093acf9f9fb04551719c71fb90fa5458 /bootstrap
parentFix(hosts/apzu): Update disk to new disko install (diff)
downloadnixos-config-d58fa72a1288a2b2a8453d16343b23e5c7835044.tar.gz
nixos-config-d58fa72a1288a2b2a8453d16343b23e5c7835044.zip
Fix(bootstrap): Specify experimental-features before arguments to disko
Diffstat (limited to 'bootstrap')
-rwxr-xr-xbootstrap/01_activate2
-rwxr-xr-xbootstrap/01_install2
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..."