Skip to content

Commit

Permalink
nixos-generate-config: don't include filesystems
Browse files Browse the repository at this point in the history
we already get these from disko.
  • Loading branch information
Mic92 committed Sep 27, 2024
1 parent 514264d commit d9b32e8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/nixos-anywhere.sh
Original file line number Diff line number Diff line change
Expand Up @@ -445,7 +445,7 @@ generateHardwareConfig() {
;;
nixos-generate-config)
step "Generating hardware-configuration.nix using nixos-generate-config"
runSsh -o ConnectTimeout=10 nixos-generate-config --show-hardware-config >"$hardwareConfigPath"
runSsh -o ConnectTimeout=10 nixos-generate-config --show-hardware-config --no-filesystems >"$hardwareConfigPath"
;;
*)
abort "Unknown hardware config backend: $hardwareConfigBackend"
Expand Down

0 comments on commit d9b32e8

Please sign in to comment.