diff --git a/nixos/modules/installer/tools/nixos-generate-config.pl b/nixos/modules/installer/tools/nixos-generate-config.pl index 03ee0041a5f..a4d22410806 100644 --- a/nixos/modules/installer/tools/nixos-generate-config.pl +++ b/nixos/modules/installer/tools/nixos-generate-config.pl @@ -345,7 +345,7 @@ mkpath($outDir, 0, 0755); my $fsAndSwap = ""; if (!$noFilesystems) { $fsAndSwap = "\n${fileSystems} "; - $fsAndSwap .= "swapDevices = " . multiLineList(" ", @swapDevices) . ";\n"; + $fsAndSwap .= "swapDevices =" . multiLineList(" ", @swapDevices) . ";\n"; } write_file($fn, <