summaryrefslogtreecommitdiffstats
path: root/nixos/modules/installer
AgeCommit message (Collapse)Author
2024-08-02fix netboot imageJörg Thalheim
2024-07-13Merge pull request #320462 from amozeo/pkgs/nixos-rebuild/by-attrtomberek
nixos-rebuild, nixos-install: add support for --file and --attr flags
2024-07-11nixos/nixos-install: add support for --file and --attr flagsWroclaw
2024-07-09nixVersions.nix_2_18: 2.18.4 -> 2.18.5Jean-François Roche
Fix sandbox on macos. More details here: https://github.com/NixOS/nix/compare/2.18.4...2.18.5
2024-06-27nixVersions: bump patch releasesValentin Gagarin
2024-06-22nixVersions.nix_2_18: 2.18.2 -> 2.18.3Alois Wohlschlager
It's a small round of various fixes for the default version of Nix. Diff: https://github.com/NixOS/nix/compare/2.18.2...2.18.3
2024-06-04netboot: drop syslinux and grubJörg Thalheim
The comment says this is required by other modules but to be honest, I cannot see where. Bootloaders will be included automatically by nixos generation if their `installBootLoader` attribute references it. This helps us to make kexec images even smaller espeically when combined with the perlless profile.
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-05-29nixos/netboot: only install syslinux on platforms where it's availableGiel van Schijndel
Instead of maintaining an inevitably incomplete list of unsupported architectures. I discovered this while building for armv7-linux (32-bit ARM).
2024-04-17treewide: reanme renamed libinput optionsSandro Jäckel
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-10nixos-generate-config: preserve vfat filesystem mount permissionsBjørn Forsman
The default is to mount these world-readable, but that's a security risk for the EFI System Partition. Ref https://github.com/NixOS/nixpkgs/issues/279362.
2024-04-08treewide: rename renamed sddm/displayManager settingsSandro Jäckel
2024-04-04Merge pull request #271668 from eclairevoyant/default-configNorbert Melzer
nixos/installer-tools: mention PulseAudio+PipeWire instead of ALSA+PulseAudio in generated config
2024-03-26installer/nixos-generate-config: correctly detect bcacheLuke Granger-Brown
PR #256638 inadvertently introduced a bug in `nixos-generate-config` whereby it would never put `bcache` into the `availableKernelModules` for the initrd. This is because the `qr` operator in Perl returns a regex object, rather than matching it; the regex object evaluates to true, making the filter expression effectively `grep(!true, @bcacheDevices)`, which will always return an empty list.
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-27nixos netboot: prepend systemd initrd sysroot for store overlayAstro
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-12-29nixos/installer: add a link to how to actually upgrade your system to the ↵K900
stateVersion note
2023-12-02nixos/installer-tools: mention PulseAudio+PipeWire instead of ↵éclairevoyant
ALSA+PulseAudio in generated config
2023-11-19nixos/system.disableInstallerTools: Do define options without effectRobert Hensing
These won't cause anything to appear in toplevel.
2023-11-11Merge master into staging-nextgithub-actions[bot]
2023-11-11treewide: fix redirected and broken URLsAnthony Roussel
Using the script in maintainers/scripts/update-redirected-urls.sh
2023-11-10Merge remote-tracking branch 'origin/master' into HEADAlyssa Ross
Conflicts: pkgs/development/libraries/SDL2/default.nix
2023-11-09Merge master into staging-nextgithub-actions[bot]
2023-11-09nixos/installer: remove nixos-option compat shimK900
It's been two years.
2023-11-08nix: 2.17.1 -> 2.18.1Robert Hensing
2023-11-02Merge master into staging-nextgithub-actions[bot]
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-10-29Merge master into staging-nextgithub-actions[bot]
2023-10-29nixos-generate-config: rewrite stateVersion comment againK900
Hopefully this version is clearer. Also tried to make it less technical.
2023-10-27nixos/virtualbox-demo: use latest stateVersionK900
Just like we do for the other live images
2023-10-23Merge staging-next into staginggithub-actions[bot]
2023-10-21installer/nixos-generate-config: don't set powersave cpuFreqGovernorAtemu
This script would always "detect" the "powersave" governor as it is available on practically all CPUs while the "ondemand" governor is only available on some old CPUs. IME the "powersave" governor barely provides any power savings but introduces massive performance deficits, including noticable stuttering. This is not the default experience we should offer users, even for those who use laptops. Use the kernel default (currently "performance", CPU makers may change it in future) instead.
2023-10-12Merge staging-next into staginggithub-actions[bot]
2023-10-11nixos/x11: refactor XKB options into a single attrsetVictor Engmark
[Motivation](https://github.com/NixOS/nixpkgs/issues/257817#issuecomment-1741705042): - Having all the XKB options in the same attribute set clarifies their relation better than using a common option name prefix ("xkb"). - `services.xserver.layout` is an XKB option, but this is not obvious from its name. Putting it with the other XKB options clarifies this. Co-authored-by: Michele Guerini Rocco <rnhmjoj@users.noreply.github.com>
2023-10-03bcachefs: 2023-06-28 -> 2023-09-29Daniel Hill
Includes prep work for mainline bcachefs release.
2023-09-18nixos/installer: mention search.nixos.orgAtemu
It's immensely helpful and more user-friendly than the humongous configuration.nix man page.
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