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:
parent
a546069ad3
commit
e2c546ce4a
|
@ -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 ];
|
||||||
|
|
Loading…
Reference in a new issue