summary refs log tree commit diff
path: root/nixos/modules/system/boot
diff options
context:
space:
mode:
authorzowoq <59103226+zowoq@users.noreply.github.com>2020-08-08 10:54:16 +1000
committerzowoq <59103226+zowoq@users.noreply.github.com>2020-08-08 10:54:16 +1000
commit8fb410c0adb7716f95cb6f6ccfaa6c76fa112b6c (patch)
tree13e1581f1347148f324ef1abbcb16a13dad72667 /nixos/modules/system/boot
parent3735c9ef908eceaf348215c7669870945eb3262a (diff)
downloadnixpkgs-8fb410c0adb7716f95cb6f6ccfaa6c76fa112b6c.tar
nixpkgs-8fb410c0adb7716f95cb6f6ccfaa6c76fa112b6c.tar.gz
nixpkgs-8fb410c0adb7716f95cb6f6ccfaa6c76fa112b6c.tar.bz2
nixpkgs-8fb410c0adb7716f95cb6f6ccfaa6c76fa112b6c.tar.lz
nixpkgs-8fb410c0adb7716f95cb6f6ccfaa6c76fa112b6c.tar.xz
nixpkgs-8fb410c0adb7716f95cb6f6ccfaa6c76fa112b6c.tar.zst
nixpkgs-8fb410c0adb7716f95cb6f6ccfaa6c76fa112b6c.zip
nixos/*: editorconfig fixes
Diffstat (limited to 'nixos/modules/system/boot')
-rw-r--r--nixos/modules/system/boot/emergency-mode.nix2
-rw-r--r--nixos/modules/system/boot/loader/generations-dir/generations-dir-builder.sh2
-rw-r--r--nixos/modules/system/boot/loader/init-script/init-script-builder.sh2
-rw-r--r--nixos/modules/system/boot/tmp.nix2
4 files changed, 4 insertions, 4 deletions
diff --git a/nixos/modules/system/boot/emergency-mode.nix b/nixos/modules/system/boot/emergency-mode.nix
index 9cdab841619..ec697bcee26 100644
--- a/nixos/modules/system/boot/emergency-mode.nix
+++ b/nixos/modules/system/boot/emergency-mode.nix
@@ -34,4 +34,4 @@ with lib;
 
   };
 
-}
\ No newline at end of file
+}
diff --git a/nixos/modules/system/boot/loader/generations-dir/generations-dir-builder.sh b/nixos/modules/system/boot/loader/generations-dir/generations-dir-builder.sh
index e723b9eb7cb..8ae23dc988c 100644
--- a/nixos/modules/system/boot/loader/generations-dir/generations-dir-builder.sh
+++ b/nixos/modules/system/boot/loader/generations-dir/generations-dir-builder.sh
@@ -63,7 +63,7 @@ addEntry() {
         copyToKernelsDir $kernel; kernel=$result
         copyToKernelsDir $initrd; initrd=$result
     fi
-    
+
     mkdir -p $outdir
     ln -sf $(readlink -f $path) $outdir/system
     ln -sf $(readlink -f $path/init) $outdir/init
diff --git a/nixos/modules/system/boot/loader/init-script/init-script-builder.sh b/nixos/modules/system/boot/loader/init-script/init-script-builder.sh
index 6f48d2539ac..2a1ec479fea 100644
--- a/nixos/modules/system/boot/loader/init-script/init-script-builder.sh
+++ b/nixos/modules/system/boot/loader/init-script/init-script-builder.sh
@@ -53,7 +53,7 @@ addEntry() {
       echo "exec $stage2"
     )"
 
-    [ "$path" != "$defaultConfig" ] || { 
+    [ "$path" != "$defaultConfig" ] || {
       echo "$content" > $tmp
       echo "# older configurations: $targetOther" >> $tmp
       chmod +x $tmp
diff --git a/nixos/modules/system/boot/tmp.nix b/nixos/modules/system/boot/tmp.nix
index 5bf5e2eb2ec..26eb172210e 100644
--- a/nixos/modules/system/boot/tmp.nix
+++ b/nixos/modules/system/boot/tmp.nix
@@ -36,4 +36,4 @@ with lib;
 
   };
 
-}
\ No newline at end of file
+}