summary refs log tree commit diff
path: root/nixos/modules/installer
Commit message (Collapse)AuthorAge
* nixos/iso-image: Remove leftover false dichotomy between console/serialSamuel Dionne-Riel2023-09-06
| | | | | | | | | | 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!
* nixos/iso-image: graphicalGrub -> forceTextModeSamuel Dionne-Riel2023-09-06
| | | | | | | | | | 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.
* nixos/iso-image: Tear down GOP and rely on console for Linux bootSamuel Dionne-Riel2023-09-06
| | | | | This solves an issue where *some systems* (tested on Steam Deck) the EFI GOP may be broken during stage-1.
* nixos/iso-image: Drop all unneeded FS modulesSamuel Dionne-Riel2023-09-06
| | | | | It's not like the iso-image will be anything else than isohybrid FAT+iso9660...
* nixos/iso-image: Re-enable graphics modeSamuel Dionne-Riel2023-09-06
| | | | | | | | | 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.
* nixos/iso-image: Check GRUB config on buildSamuel Dionne-Riel2023-09-06
|
* nixos/iso-image: Add common display resolutionsSamuel Dionne-Riel2023-09-06
| | | | Hey, look at that, grub is the correct way around on a Steam Deck!
* nixos/iso-image: Use intrinsic UEFI console for serial output in GRUBSamuel Dionne-Riel2023-09-06
| | | | | | | | 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.
* nixos/iso-image: Make modules list easier to manageSamuel Dionne-Riel2023-09-06
| | | | | | With a bash array. This change is morally a no-op.
* nixos/iso-image: disable graphical GRUB on GNOME ISOs tooK9002023-09-06
| | | | It's broken for a lot of people.
* Merge pull request #248701 from doronbehar/nixos/manpagesDoron Behar2023-08-16
|\ | | | | nixos/install-tools: Add manpages to packages instead of seperating them
| * nixos/doc: Improve documentation of documentationDoron Behar2023-08-12
| | | | | | | | | | | | | | | | | | | | - Move contents of README.md from nixos/modules/installer/tools/manpages/ to nixos/doc/manual/contributing-to-this-manual.chapter.md. - Don't mention DocBook as its obsolete and too specific. - Rename derivation attribute name of configuration.nix(5) manual page, both on the `contributing-to-this-manual.chapter.md`, and in other places.
| * nixos/install-tools: Add manpages to packages instead of seperating themDoron Behar2023-08-12
| | | | | | | | | | | | | | | | Since each such `nixos-*` tool has it's own derivation, exposed in pkgs, There is no point in separating the manuals from the packages. If someone wishes to have the tools without the manuals, they can use meta.outputsToInstall to disable the installation of the manpages of these packages. This Fixes #244450.
* | Merge pull request #247475 from qowoz/nix217Bernardo Meurer2023-08-13
|\ \
| * | nixos/nix-fallback-paths: 2.15.1 -> 2.17.0zowoq2023-08-06
| |/ | | | | | | https://releases.nixos.org/nix/nix-2.17.0/fallback-paths.nix
* / iso_gnome: Fix evaluationJan Tojnar2023-08-12
|/ | | | | | `qt.enable` option requires `qt.style` to be set. Previously, this was set in GNOME module but it has been removed in 622745942bc7b7cc056bfbb0bc6004dd823fa4f5
* Merge pull request #246746 from mode89/fix/nixos-install-with-non-empty-mntPol Dellaiera2023-08-02
|\ | | | | nixos-install: fix removal of non-empty `/mnt`
| * nixos-install: fix removal of non-empty `/mnt`Andrey Krainyak2023-08-02
| | | | | | | | | | | | | | | | | | | | | | After building the target system, `nixos-install` tries to remove `/mnt` on the target filesystem. And the script may fail without any explanation, if `/mnt` isn't empty. This commit makes the installation process carry on even if there are files under `/mnt`. See https://github.com/NixOS/nixpkgs/issues/244643.
* | nixos-generate-config: add 'lib' arg to configuration.nixBjørn Forsman2023-07-21
| | | | | | | | | | | | | | | | | | | | | | Although 'lib' isn't needed by the default configuration, new NixOS uses can get confused when being recommended configuration.nix snippets like systemd.services.NetworkManager-wait-online.enable = lib.mkForce false; and have `sudo nixos-rebuild switch` fail with error: undefined variable 'lib'
* | Merge pull request #183314 from DeterminateSystems/optional-swraidWill Fancher2023-07-13
|\ \ | | | | | | Make swraid optional
| * | boot.initrd.services.swraid -> boot.swraidLinus Heckemann2023-07-10
| | | | | | | | | | | | | | | Since the option affects both stage-1 and stage-2, it does not make sense to keep it within the boot.initrd namespace.
| * | nixos/swraid: make entire module optionalLinus Heckemann2023-07-10
| | | | | | | | | | | | | | | | | | swraid support will now only be enabled by default if stateVersion is older than 23.11. nixos-generate-config will now generate explicit config for enabling support if needed.
* | | treewide: use lib.optional instead of 'then []'Felix Buehler2023-07-12
| | |
* | | Merge pull request #237442 from SuperSandro2000/nixos-optionSandro2023-07-12
|\ \ \ | |/ / |/| | nixos-option: update to nix 2.15
| * | nixos/tools: remove nixos-option conditionSandro Jäckel2023-07-11
| | |
* | | nixos/iso-image: fix syntaxK9002023-07-05
| | |
* | | installation-cd: enable graphicalGrublassulus2023-06-29
| | |
* | | nixos/iso-image: make graphical grub configurablelassulus2023-06-29
| | |
* | | nixos-generate-config: Fix generated hostPlatform.systemRobert Hensing2023-06-11
|/ / | | | | | | | | | | | | While the intent of the code was correct, the system string can not be used in the substituteAll function. See https://github.com/NixOS/nixpkgs/issues/237216
* / nix-fallback-paths.nix: Update to 2.15.1Silvan Mosberger2023-06-01
|/
* Merge pull request #229767 from mberndt123/mberndt123/stratis-rootfsWill Fancher2023-05-25
|\ | | | | nixos/stratis: initrd support for stratis root volumes
| * Merge remote-tracking branch 'upstream/master' into mberndt123/stratis-rootfsMatthias Berndt2023-05-17
| |\
| * | make nixos-generate-config generate stratis pool UUIDsMatthias Berndt2023-05-15
| | |
* | | nixos/iso-image: enable BIOS boot by default if possibleIvan Trubach2023-05-23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | | nixos/iso-image: add some typesners2023-05-22
| | |
* | | nixos/iso-image: prepend to ISO menu labelsners2023-05-22
| | |
* | | nixos: fix typosfigsoda2023-05-19
| |/ |/|
* | nixos/*: remove boot.grub.versionajs1242023-05-10
| |
* | nixos/netboot: add squashfsCompression optionAlyssa Ross2023-05-09
| | | | | | | | | | | | | | | | This is copied from isoImage.squashfsCompression. It's useful to be able to customise, as iteration cycles are very slow with xz, and subjectively systems booted with less efficiently compressed squashfs stores appear to have faster reads (although I didn't test that scientificly so there could be other factors).
* | nixos/iso-image: type isoImage.squashfsCompressionAlyssa Ross2023-05-09
| |
* | nixos/iso-image: targetPlatform -> hostPlatformAlyssa Ross2023-05-08
|/ | | | | This is not a compiler, and therefore does not need to care about the target platform.
* Merge pull request #229874 from mcnesium/fix_ambig_charRick van Schijndel2023-05-06
|\ | | | | fix ambiguous unicode characters
| * fix ambiguous unicode charactersmcnesium2023-05-04
| |
* | Merge pull request #227696 from aktaboot/fix-install-tools-depsRyan Lahfa2023-05-05
|\ \ | |/ |/| nixos/installer: fix util-linux dependencies in install script
| * nixos/installer: fix util-linux dependencies in install scriptsaktaboot2023-05-05
| |
* | nixos/nixos-generate-config: use `hostPlatform.system` instead of calling `nix`name_snrl2023-04-26
|/
* Merge pull request #222080 from Stunkymonkey/nixos-optionalStringArtturi2023-04-20
|\
| * treewide: use more lib.optionalStringFelix Buehler2023-04-07
| |
* | nixos/nixos-generate-config: include new device ID for virtio_scsiR-VdP2023-04-18
| | | | | | | | | | Device IDs found here: https://devicehunt.com/view/type/pci/vendor/1AF4/device/1048
* | Merge pull request #204534 from SuperSandro2000/boot-tmpSandro2023-04-12
|\ \ | |/ |/|