mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-10-31 22:51:22 +00:00
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 = "";
|
||||
if (!$noFilesystems) {
|
||||
$fsAndSwap = "\n${fileSystems} ";
|
||||
$fsAndSwap .= "swapDevices = " . multiLineList(" ", @swapDevices) . ";\n";
|
||||
$fsAndSwap .= "swapDevices =" . multiLineList(" ", @swapDevices) . ";\n";
|
||||
}
|
||||
|
||||
write_file($fn, <<EOF);
|
||||
@ -355,7 +355,7 @@ write_file($fn, <<EOF);
|
||||
{ config, pkgs, ... }:
|
||||
|
||||
{
|
||||
imports = ${\multiLineList(" ", @imports)};
|
||||
imports =${\multiLineList(" ", @imports)};
|
||||
|
||||
boot.initrd.availableKernelModules = [$initrdAvailableKernelModules ];
|
||||
boot.kernelModules = [$kernelModules ];
|
||||
|
Loading…
Reference in New Issue
Block a user