mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-07-06 17:13:24 -05:00
treewide: run nixfmt 1.0.0
This commit is contained in:
parent
6f5663940c
commit
5a0711127c
5118 changed files with 100492 additions and 103190 deletions
|
|
@ -797,7 +797,8 @@ in
|
|||
device = "/iso/nix-store.squashfs";
|
||||
options = [
|
||||
"loop"
|
||||
] ++ lib.optional (config.boot.kernelPackages.kernel.kernelAtLeast "6.2") "threads=multi";
|
||||
]
|
||||
++ lib.optional (config.boot.kernelPackages.kernel.kernelAtLeast "6.2") "threads=multi";
|
||||
neededForBoot = true;
|
||||
};
|
||||
|
||||
|
|
@ -869,7 +870,8 @@ in
|
|||
|
||||
environment.systemPackages = [
|
||||
grubPkgs.grub2
|
||||
] ++ lib.optional (config.isoImage.makeBiosBootable) pkgs.syslinux;
|
||||
]
|
||||
++ lib.optional (config.isoImage.makeBiosBootable) pkgs.syslinux;
|
||||
system.extraDependencies = [ grubPkgs.grub2_efi ];
|
||||
|
||||
# In stage 1 of the boot, mount the CD as the root FS by label so
|
||||
|
|
@ -901,9 +903,10 @@ in
|
|||
|
||||
# Closures to be copied to the Nix store on the CD, namely the init
|
||||
# script and the top-level system configuration directory.
|
||||
isoImage.storeContents =
|
||||
[ config.system.build.toplevel ]
|
||||
++ lib.optional config.isoImage.includeSystemBuildDependencies config.system.build.toplevel.drvPath;
|
||||
isoImage.storeContents = [
|
||||
config.system.build.toplevel
|
||||
]
|
||||
++ lib.optional config.isoImage.includeSystemBuildDependencies config.system.build.toplevel.drvPath;
|
||||
|
||||
# Individual files to be included on the CD, outside of the Nix
|
||||
# store on the CD.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue