mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-07-13 21:50:33 +03: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
1 changed files with 2 additions and 2 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue