···
# The configuration of the system used to run "nixos-install".
686
-
../modules/profiles/installation-device.nix
687
-
../modules/profiles/base.nix
688
-
extraInstallerConfig
689
-
./common/auto-format-root-device.nix
688
+
../modules/profiles/installation-device.nix
689
+
../modules/profiles/base.nix
690
+
extraInstallerConfig
691
+
./common/auto-format-root-device.nix
692
-
# In systemdStage1, also automatically format the device backing the
694
-
virtualisation.fileSystems."/".autoFormat = systemdStage1;
694
+
# In systemdStage1, also automatically format the device backing the
696
+
virtualisation.fileSystems."/".autoFormat = systemdStage1;
696
-
boot.initrd.systemd.enable = systemdStage1;
698
+
boot.initrd.systemd.enable = systemdStage1;
698
-
# Use a small /dev/vdb as the root disk for the
699
-
# installer. This ensures the target disk (/dev/vda) is
700
-
# the same during and after installation.
701
-
virtualisation.emptyDiskImages = [ 512 ];
702
-
virtualisation.rootDevice = "/dev/vdb";
700
+
# Use a small /dev/vdb as the root disk for the
701
+
# installer. This ensures the target disk (/dev/vda) is
702
+
# the same during and after installation.
703
+
virtualisation.emptyDiskImages = [ 512 ];
704
+
virtualisation.rootDevice = "/dev/vdb";
704
-
hardware.enableAllFirmware = mkForce false;
705
-
nix.package = selectNixPackage pkgs;
706
+
nix.package = selectNixPackage pkgs;
707
+
hardware.enableAllFirmware = mkForce false;
707
-
# The test cannot access the network, so any packages we
708
-
# need must be included in the VM.
709
-
system.extraDependencies =
724
-
nixos-artwork.wallpapers.simple-dark-gray-bottom
726
-
perlPackages.ConfigIniFiles
727
-
perlPackages.FileSlurp
729
-
perlPackages.ListCompare
730
-
perlPackages.XMLLibXML
731
-
# make-options-doc/default.nix
732
-
(python3.withPackages (p: [ p.mistune ]))
735
-
switch-to-configuration-ng
741
-
# add curl so that rather than seeing the test attempt to download
742
-
# curl's tarball, we see what it's trying to download
745
-
++ optionals (bootLoader == "grub") (
747
-
zfsSupport = extraInstallerConfig.boot.supportedFilesystems.zfs or false;
709
+
# The test cannot access the network, so any packages we
710
+
# need must be included in the VM.
711
+
system.extraDependencies =
750
-
(pkgs.grub2.override { inherit zfsSupport; })
751
-
(pkgs.grub2_efi.override { inherit zfsSupport; })
752
-
pkgs.nixos-artwork.wallpapers.simple-dark-gray-bootloader
753
-
pkgs.perlPackages.FileCopyRecursive
754
-
pkgs.perlPackages.XMLSAX
755
-
pkgs.perlPackages.XMLSAXBase
726
+
nixos-artwork.wallpapers.simple-dark-gray-bottom
728
+
perlPackages.ConfigIniFiles
729
+
perlPackages.FileSlurp
731
+
perlPackages.ListCompare
732
+
perlPackages.XMLLibXML
733
+
# make-options-doc/default.nix
734
+
(python3.withPackages (p: [ p.mistune ]))
737
+
switch-to-configuration-ng
743
+
# add curl so that rather than seeing the test attempt to download
744
+
# curl's tarball, we see what it's trying to download
747
+
++ optionals (bootLoader == "grub") (
749
+
zfsSupport = extraInstallerConfig.boot.supportedFilesystems.zfs or false;
752
+
(pkgs.grub2.override { inherit zfsSupport; })
753
+
(pkgs.grub2_efi.override { inherit zfsSupport; })
754
+
pkgs.nixos-artwork.wallpapers.simple-dark-gray-bootloader
755
+
pkgs.perlPackages.FileCopyRecursive
756
+
pkgs.perlPackages.XMLSAX
757
+
pkgs.perlPackages.XMLSAXBase
760
+
++ optionals (bootLoader == "systemd-boot") [
763
+
config.boot.bootspec.package
758
-
++ optionals (bootLoader == "systemd-boot") [
763
-
++ optionals clevisTest [ pkgs.klibc ]
764
-
++ optional systemdStage1 pkgs.chroot-realpath;
765
+
++ optionals clevisTest [ pkgs.klibc ]
766
+
++ optional systemdStage1 pkgs.chroot-realpath;
767
-
substituters = mkForce [ ];
768
-
hashed-mirrors = null;
769
-
connect-timeout = 1;
769
+
substituters = mkForce [ ];
770
+
hashed-mirrors = null;
771
+
connect-timeout = 1;
imports = [ commonConfig ];