diff options
author | aszlig <aszlig@redmoonstudios.org> | 2013-10-23 16:00:39 +0200 |
---|---|---|
committer | aszlig <aszlig@redmoonstudios.org> | 2013-10-23 17:16:16 +0200 |
commit | e2c546ce4a583d74389dadaad3f1af44860336ac (patch) | |
tree | 2b4b46a89d7a16e361ae50445ed72a44ca3c0921 /nixos/modules/installer/tools/nixos-generate-config.pl | |
parent | a546069ad34f72ac0ae57ae87b76fe26350494ad (diff) | |
download | nixpkgs-e2c546ce4a583d74389dadaad3f1af44860336ac.tar nixpkgs-e2c546ce4a583d74389dadaad3f1af44860336ac.tar.gz nixpkgs-e2c546ce4a583d74389dadaad3f1af44860336ac.tar.bz2 nixpkgs-e2c546ce4a583d74389dadaad3f1af44860336ac.tar.lz nixpkgs-e2c546ce4a583d74389dadaad3f1af44860336ac.tar.xz nixpkgs-e2c546ce4a583d74389dadaad3f1af44860336ac.tar.zst nixpkgs-e2c546ce4a583d74389dadaad3f1af44860336ac.zip |
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>
Diffstat (limited to 'nixos/modules/installer/tools/nixos-generate-config.pl')
-rw-r--r-- | nixos/modules/installer/tools/nixos-generate-config.pl | 4 |
1 files changed, 2 insertions, 2 deletions
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, <<EOF); @@ -355,7 +355,7 @@ write_file($fn, <<EOF); { config, pkgs, ... }: { - imports = ${\multiLineList(" ", @imports)}; + imports =${\multiLineList(" ", @imports)}; boot.initrd.availableKernelModules = [$initrdAvailableKernelModules ]; boot.kernelModules = [$kernelModules ]; |