From f675820a2e0dbe23a3d7b23a6ba5e0f7b5c12fad Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Thalheim?= Date: Fri, 27 Sep 2024 14:03:21 +0200 Subject: [PATCH] nixos-generate-config: don't include filesystems we already get these from disko. --- src/nixos-anywhere.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/nixos-anywhere.sh b/src/nixos-anywhere.sh index 30ff19a4..28ac67ea 100755 --- a/src/nixos-anywhere.sh +++ b/src/nixos-anywhere.sh @@ -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"