summaryrefslogtreecommitdiffstats
path: root/nixos/modules/installer/cd-dvd
AgeCommit message (Collapse)Author
2024-06-03nixos/installation-cd-plasma5: fix even more aliasesSandro Jäckel
2024-06-03nixos/installation-cd-plasma5: don't use alias for konsoleSandro
2024-04-13nixos: remove all uses of lib.mdDocstuebinm
these changes were generated with nixq 0.0.2, by running nixq ">> lib.mdDoc[remove] Argument[keep]" --batchmode nixos/**.nix nixq ">> mdDoc[remove] Argument[keep]" --batchmode nixos/**.nix nixq ">> Inherit >> mdDoc[remove]" --batchmode nixos/**.nix two mentions of the mdDoc function remain in nixos/, both of which are inside of comments. Since lib.mdDoc is already defined as just id, this commit is a no-op as far as Nix (and the built manual) is concerned.
2024-04-08treewide: rename renamed sddm/displayManager settingsSandro Jäckel
2024-03-12nixos/iso-image: extremely cursed performance optimization for HydraK900
Right now the worst case chain of events for building an ISO on Hydra is - copy everything to squashfs builder - run squashfs builder - download squashfs from builder - compress squashfs - upload squashfs to S3 - copy squashfs to ISO builder - run ISO builder - download ISO from builder - compress ISO - upload ISO to S3 This inlines the squashfs build into the ISO build, which makes it - copy everything to ISO builder - run ISO builder - download ISO from builder - compress ISO - upload ISO to S3 Which should reduce queue runner load by $alot per ISO, which we have four of on small channels (one release, one test per arch) and a lot more than four of on large channels (with various desktops)
2024-02-28nixos/release: add Plasma 6 ISO variantK900
2024-02-19nixos/filesystems: make supportedFilesystems an attrsetpennae
this lets us *dis*able filesystem explicitly, as is required by e.g. the zfs-less installer images. currently that specifically is only easily possible by adding an overlay that stubs out `zfs`, with the obvious side-effect of also removing tooling that could run without the kernel module loaded.
2024-01-14Merge pull request #279174 from SuperSandro2000/iso-minimal-overrideNick Cao
nixos/installation-cd-minimal: allow overwriting isoImage.edition with mkForce like other options
2024-01-07nixos/lib/make-squashfs.nix: allow disabling compressionCole Mickens
2024-01-06nixos/installation-cd-minimal: allow overwriting isoImage.edition with ↵Sandro Jäckel
mkForce like other options For good measure also changed fontconfig
2023-11-02installer/cd-dvd/channel: allow to disable bundled channelJörg Thalheim
When building kexec-based installer every mb saved will reduce the RAM usage and allow to install NixOS on smaller machines. It also means that less data has to be downloaded from the network. When using flakes or niv we no longer rely on nix channels beeing present and when using something like nixos-anywhere, we no longer need to evaluate anything in the installer at all.
2023-11-02installer/cd-dvd/channel: stop using libJörg Thalheim
the lack of with allows lsp's to spot errors better
2023-09-06nixos/iso-image: Remove leftover false dichotomy between console/serialSamuel Dionne-Riel
Relying on the built-in UEFI console here was already necessary, so we are losing nothing by removing the needless `serial` call, which hung some systems. This also makes the implementation much easier to understand. Also, no ugly-font menu anymore!
2023-09-06nixos/iso-image: graphicalGrub -> forceTextModeSamuel Dionne-Riel
This helps keep logic simpler, as what we do is forcing text mode, which means the non-default case is `truthy`, making things easier to digest in the config file. Also renaming this option is considered "internal", since it lives only within the `iso-image` namespace, and also not a breaking change since it was not part of a stable release.
2023-09-06nixos/iso-image: Tear down GOP and rely on console for Linux bootSamuel Dionne-Riel
This solves an issue where *some systems* (tested on Steam Deck) the EFI GOP may be broken during stage-1.
2023-09-06nixos/iso-image: Drop all unneeded FS modulesSamuel Dionne-Riel
It's not like the iso-image will be anything else than isohybrid FAT+iso9660...
2023-09-06nixos/iso-image: Re-enable graphics modeSamuel Dionne-Riel
Which ***anyway*** was not disabled correctly. Following changes will actually disable it. What this did was disable the "themed" menu driver, but still continued relying on the gfxterm infra, which in itself is why things were ugly and weird.
2023-09-06nixos/iso-image: Check GRUB config on buildSamuel Dionne-Riel
2023-09-06nixos/iso-image: Add common display resolutionsSamuel Dionne-Riel
Hey, look at that, grub is the correct way around on a Steam Deck!
2023-09-06nixos/iso-image: Use intrinsic UEFI console for serial output in GRUBSamuel Dionne-Riel
The `serial` console hangs on some systems. Unknown why. Anyway, the way this worked right now relied on it telling the user on the UEFI console how to enable it. So if I understand it correctly, it will not cause any regression there.
2023-09-06nixos/iso-image: Make modules list easier to manageSamuel Dionne-Riel
With a bash array. This change is morally a no-op.
2023-09-06nixos/iso-image: disable graphical GRUB on GNOME ISOs tooK900
It's broken for a lot of people.
2023-08-12iso_gnome: Fix evaluationJan Tojnar
`qt.enable` option requires `qt.style` to be set. Previously, this was set in GNOME module but it has been removed in 622745942bc7b7cc056bfbb0bc6004dd823fa4f5
2023-07-05nixos/iso-image: fix syntaxK900
2023-06-29installation-cd: enable graphicalGrublassulus
2023-06-29nixos/iso-image: make graphical grub configurablelassulus
2023-05-23nixos/iso-image: enable BIOS boot by default if possibleIvan Trubach
The change introduced in commit e5b072eca165430efc4d7a179011a42aab4470a2 breaks backwards compatibility for some users, see https://github.com/NixOS/nixpkgs/commit/e5b072eca165430efc4d7a179011a42aab4470a2#commitcomment-113775008 https://github.com/NixOS/nixpkgs/pull/219351#discussion_r1139773448 This change updates the implementation to enable BIOS boot if possible for the build and host platforms, and also assert that BIOS boot is not enabled for non-x86 host platforms.
2023-05-22nixos/iso-image: add some typesners
2023-05-22nixos/iso-image: prepend to ISO menu labelsners
2023-05-10nixos/*: remove boot.grub.versionajs124
2023-05-09nixos/iso-image: type isoImage.squashfsCompressionAlyssa Ross
2023-05-08nixos/iso-image: targetPlatform -> hostPlatformAlyssa Ross
This is not a compiler, and therefore does not need to care about the target platform.
2023-04-07treewide: use more lib.optionalStringFelix Buehler
2023-03-09nixos/iso-image: s/efi/EFI in documentationIvan Trubach
2023-03-09nixos/iso-image: add an option to disable BIOS bootIvan Trubach
This change adds an option to disable legacy BIOS boot support for ISO images. The implementation uses syslinux package that currently does not support non-x86 platforms and thus cannot be cross-compiled, e.g. from AArch64 system.
2023-01-19nixos/installer/cd-dvd: removing duplicate nixpkgsIzorkin
2023-01-19nixos/installation-cd-minimal: include HTML docNaïm Favier
Although we don't really need HTML documentation in the minimal installer, not including it may cause annoying cache misses in the case of the NixOS manual.
2023-01-14nixos/version: add config.system.nixos.distroName and ↵Victor Fuentes
config.system.nixos.distroId
2023-01-10rename config.qt5 -> config.qtlinsui
2022-12-30Merge pull request #204669 from n8henrie/configurable-grub-efi-timeoutRyan Lahfa
nixos/installer/cd-dvd/iso-image: honor EFI boot timeout
2022-12-27Merge pull request #207371 from samueldr/feature/new_kernel-no-zfsSamuel Dionne-Riel
nixos: Add new_kernel_no_zfs image variants
2022-12-27Merge pull request #207105 from ncfavier/iso-xlibsNaïm Favier
2022-12-24nixos/installer/cd-dvd/iso-image: Honor boot.loader.timeout for EFINathan Henrie
EFI boot timeout is currently a static 10 whereas syslinux uses boot.loader.timeout. This changes the EFI config to match. Some discussion at https://discourse.nixos.org/t/how-to-override-let-variables/23741/2
2022-12-22nixos: Add iso_minimal_new_kernel_no_zfsSamuel Dionne-Riel
Support for ZFS, while desirable, is problematic with newer kernel releases. The stable ZFS release seldom supports the current newest kernel version, and this makes the new_kernel iso basically useless as it cannot be published, and is not often built with new kernel releases. This uses a dirty workaround to work around the fact it is impossible to remove a list item from a modules system list type. Since ZFS support is conditional to being supported on the current platform, we can fake ZFS not being supported *for the no-zfs build only*. This overlay is only added when evaluating the iso, nothing else.
2022-12-22Make syslinuxTimeout match documentationNathan Henrie
- https://wiki.syslinux.org/wiki/index.php?title=SYSLINUX#TIMEOUT_timeout - https://github.com/NixOS/nixpkgs/blob/cbe419ed4c8f98bd82d169c321d339ea30904f1f/nixos/modules/system/boot/loader/loader.nix#L16 Fixes https://github.com/NixOS/nixpkgs/issues/207289
2022-12-21nixos/installation-cd-minimal: disable `noXlibs`Naïm Favier
Causes a lot of uncached builds for a negligible decrease in size (822 → 821 MiB currently).
2022-12-17nixos: fix typosfigsoda
2022-12-09iso/minimal: use mkForceIzorkin
2022-12-09iso/minimal: use minimal profileIzorkin
2022-12-04nixos/installer/cd-dvd: use filtered nixpkgs sourceNaïm Favier
Pin the `nixpkgs` registry entry to the *filtered* nixpkgs source to avoid copying the entire `.git` directory to the ISO when building from a local checkout. Also set `to` directly instead of the `flake.outPath` hack.