about summary refs log tree commit diff
diff options
context:
space:
mode:
authorJan Malakhovski <oxij@oxij.org>2018-09-24 19:43:55 +0000
committerJan Malakhovski <oxij@oxij.org>2018-09-24 19:45:16 +0000
commit563d5b1c87d7e4ca996c00a4df5b734ccd985095 (patch)
treedbe7450ef4cca63d6ba73f524d1f9373997a4503
parentfece91537bc31c070a80015a54149d45644b1ced (diff)
downloadnixlib-563d5b1c87d7e4ca996c00a4df5b734ccd985095.tar
nixlib-563d5b1c87d7e4ca996c00a4df5b734ccd985095.tar.gz
nixlib-563d5b1c87d7e4ca996c00a4df5b734ccd985095.tar.bz2
nixlib-563d5b1c87d7e4ca996c00a4df5b734ccd985095.tar.lz
nixlib-563d5b1c87d7e4ca996c00a4df5b734ccd985095.tar.xz
nixlib-563d5b1c87d7e4ca996c00a4df5b734ccd985095.tar.zst
nixlib-563d5b1c87d7e4ca996c00a4df5b734ccd985095.zip
nixos: top-level: indent
-rw-r--r--nixos/modules/system/activation/top-level.nix48
1 files changed, 24 insertions, 24 deletions
diff --git a/nixos/modules/system/activation/top-level.nix b/nixos/modules/system/activation/top-level.nix
index 848587bde294..413543df88c6 100644
--- a/nixos/modules/system/activation/top-level.nix
+++ b/nixos/modules/system/activation/top-level.nix
@@ -99,30 +99,30 @@ let
   # `switch-to-configuration' that activates the configuration and
   # makes it bootable.
   baseSystem = pkgs.stdenvNoCC.mkDerivation {
-      name = let hn = config.networking.hostName;
-                 nn = if (hn != "") then hn else "unnamed";
-          in "nixos-system-${nn}-${config.system.nixos.label}";
-      preferLocalBuild = true;
-      allowSubstitutes = false;
-      buildCommand = systemBuilder;
-
-      inherit (pkgs) utillinux coreutils;
-      systemd = config.systemd.package;
-      shell = "${pkgs.bash}/bin/sh";
-
-      inherit children;
-      kernelParams = config.boot.kernelParams;
-      installBootLoader =
-        config.system.build.installBootLoader
-        or "echo 'Warning: do not know how to make this configuration bootable; please enable a boot loader.' 1>&2; true";
-      activationScript = config.system.activationScripts.script;
-      nixosLabel = config.system.nixos.label;
-
-      configurationName = config.boot.loader.grub.configurationName;
-
-      # Needed by switch-to-configuration.
-
-      perl = "${pkgs.perl}/bin/perl " + (concatMapStringsSep " " (lib: "-I${lib}/${pkgs.perl.libPrefix}") (with pkgs.perlPackages; [ FileSlurp NetDBus XMLParser XMLTwig ]));
+    name = let hn = config.networking.hostName;
+               nn = if (hn != "") then hn else "unnamed";
+        in "nixos-system-${nn}-${config.system.nixos.label}";
+    preferLocalBuild = true;
+    allowSubstitutes = false;
+    buildCommand = systemBuilder;
+
+    inherit (pkgs) utillinux coreutils;
+    systemd = config.systemd.package;
+    shell = "${pkgs.bash}/bin/sh";
+
+    inherit children;
+    kernelParams = config.boot.kernelParams;
+    installBootLoader =
+      config.system.build.installBootLoader
+      or "echo 'Warning: do not know how to make this configuration bootable; please enable a boot loader.' 1>&2; true";
+    activationScript = config.system.activationScripts.script;
+    nixosLabel = config.system.nixos.label;
+
+    configurationName = config.boot.loader.grub.configurationName;
+
+    # Needed by switch-to-configuration.
+
+    perl = "${pkgs.perl}/bin/perl " + (concatMapStringsSep " " (lib: "-I${lib}/${pkgs.perl.libPrefix}") (with pkgs.perlPackages; [ FileSlurp NetDBus XMLParser XMLTwig ]));
   };
 
   # Handle assertions and warnings