nixos-generate-config: Remove unnecessary spaces.

The attributes swapDevices and imports add a space character after the
eqals sign, which is unnecessary. I know, I'm a pedantic douche bag but
it hurts my eyes.

Signed-off-by: aszlig <aszlig@redmoonstudios.org>
This commit is contained in:
aszlig 2013-10-23 16:00:39 +02:00
parent a546069ad3
commit e2c546ce4a
No known key found for this signature in database
GPG key ID: D0EBD0EC8C2DC961

View file

@ -345,7 +345,7 @@ mkpath($outDir, 0, 0755);
my $fsAndSwap = ""; my $fsAndSwap = "";
if (!$noFilesystems) { if (!$noFilesystems) {
$fsAndSwap = "\n${fileSystems} "; $fsAndSwap = "\n${fileSystems} ";
$fsAndSwap .= "swapDevices = " . multiLineList(" ", @swapDevices) . ";\n"; $fsAndSwap .= "swapDevices =" . multiLineList(" ", @swapDevices) . ";\n";
} }
write_file($fn, <<EOF); write_file($fn, <<EOF);
@ -355,7 +355,7 @@ write_file($fn, <<EOF);
{ config, pkgs, ... }: { config, pkgs, ... }:
{ {
imports = ${\multiLineList(" ", @imports)}; imports =${\multiLineList(" ", @imports)};
boot.initrd.availableKernelModules = [$initrdAvailableKernelModules ]; boot.initrd.availableKernelModules = [$initrdAvailableKernelModules ];
boot.kernelModules = [$kernelModules ]; boot.kernelModules = [$kernelModules ];