summary refs log tree commit diff
path: root/nixos/modules/system/boot/stage-1.nix
Commit message (Collapse)AuthorAge
...
* | nixos/multipath: add multipath moduleMichael Brantley2021-10-08
| | | | | | | | | | | | | | | | | | | | | | The multipath-tools package had existed in Nixpkgs for some time but without a nixos module to configure/drive it. This module provides attributes to drive the majority of multipath configuration options and is being successfully used in stage-1 and stage-2 boot to mount /nix from a multipath-serviced iSCSI volume. Credit goes to @grahamc for early contributions to the module and authoring the NixOS module test.
* | boot.initrd.extraFiles: allow users to add arbitrary files to the initrdGraham Christensen2021-10-08
| |
* | nixos/doc: clean up defaults and examplesNaïm Favier2021-10-04
| |
* | Merge pull request #73780 from h0m1/fixnix/stage-1Jörg Thalheim2021-08-17
|\ \ | |/ |/| stage-1: create temporary secrets directory in /tmp and not in cwd
| * stage-1: create temporary secrets directory in /tmp and not in cwdh0m12019-11-19
| |
* | nixos/stage-1: make cpio quietNaïm Favier2021-03-10
| |
* | nixos/stage-1: install networkd link filesrnhmjoj2021-02-18
| | | | | | | | | | | | | | | | | | | | Renaming an interface must be done in stage-1: otherwise udev will report the interface as ready and network daemons (networkd, dhcpcd, etc.) will bring it up. Once up the interface can't be changed and the renaming will fail. Note: link files are read directly by udev, so they can be used even without networkd enabled.
* | Merge pull request #108294 from GovanifY/silent-bootAnderson Torres2021-01-29
|\ \ | | | | | | boot.initrd: add verbose option
| * | boot.initrd: add verbose optionGauvain 'GovanifY' Roussel-Tarbouriech2021-01-24
| | |
* | | Merge pull request #78430 from puckipedia/fix-initrd-silentEelco Dolstra2021-01-11
|\ \ \ | | | | | | | | nixos/stage-1: Do not allow missing kernel modules in initrd
| * | | nixos/stage-1: Do not allow missing kernel modules in initrdPuck Meerburg2020-01-24
| | |/ | |/|
* | | nixos/stage-1: set zstd as the default compressor when supportedBlaž Hrastnik2020-12-28
| |/ |/| | | | | Co-authored-by: Atemu <atemu.main@gmail.com>
* | nixos/initrd: docbookise "compressor" descriptionLinus Heckemann2020-12-17
| |
* | nixos/initrd: add compressorArgs, make compressor option publicDominik Xaver Hörl2020-12-17
| |
* | utillinux: rename to util-linuxGraham Christensen2020-11-24
| |
* | cryptsetup, lvm2, systemd: Break cyclic dependency at a different pointAnders Kaseorg2020-09-03
| | | | | | | | | | | | | | | | | | | | | | | | The cyclic dependency of systemd → cryptsetup → lvm2 → udev=systemd needs to be broken somewhere. The previous strategy of building cryptsetup with an lvm2 built without udev (#66856) caused the installer.luksroot test to fail. Instead, build lvm2 with a udev built without cryptsetup. Fixes #96479. Signed-off-by: Anders Kaseorg <andersk@mit.edu>
* | Merge pull request #96042 from rnhmjoj/loaOfWORLDofPEACE2020-09-02
|\ \ | | | | | | treewide: completely remove types.loaOf
| * | treewide: completely remove types.loaOfrnhmjoj2020-09-02
| | |
* | | Merge staging-next into stagingFrederik Rietdijk2020-08-26
|\ \ \
| * | | extra-utils: build a full lvm2 without udev support, fixes #96197Frederik Rietdijk2020-08-26
| | | | | | | | | | | | | | | | | | | | dmsetup was missing symbols. https://github.com/NixOS/nixpkgs/pull/96290#issuecomment-680252830
| * | | stage-1 find-libs: initialise left to empty arrayLinus Heckemann2020-08-25
| |/ / | | | | | | | | | | | | | | | | | | | | | declare -a is not sufficient to make the array variable actually exist, which resulted in the script failing when the target object did not have any DT_NEEDED entries. This in turn resulted in some initramfs libraries not having their rpaths patched to point to extra-utils, which in turn broke the extra-utils tests.
* | | Merge pull request #94354 from flokli/systemd-246Florian Klink2020-08-24
|\ \ \ | |/ / |/| | systemd: 245.6 -> 246
| * | nixos/boot: handle systemd-udevd being a symlink to udevadmFlorian Klink2020-08-13
| | |
* | | Merge pull request #92964 from lopsided98/initrd-secrets-compressorJörg Thalheim2020-08-13
|\ \ \ | |/ / |/| |
| * | nixos/stage-1: fix initrd secrets with custom compressorBen Wolsieffer2020-07-11
| | |
* | | nixos/boot: some documentation improvementsKeshav Kini2020-07-29
| | | | | | | | | | | | | | | | | | | | | | | | - Give a more accurate description of how fileSystems.<name/>.neededForBoot works - Give a more detailed description of how fileSystems.<name/>.encrypted.keyFile works
* | | lvm2: add multiple output supportFlorian Klink2020-07-12
|/ /
* | boot: fix order of arguments for `hasPrefix` (#89751)Nadrieril2020-06-07
| |
* | nixos/stage-1: make boot.initrd.secrets appear in the manualBen Wolsieffer2020-06-04
| |
* | nixos/stage-1: check secret paths before copyingEmily2020-04-11
| | | | | | | | Fixes #84976.
* | nixos/initrd-ssh: switch from Dropbear to OpenSSHEmily2020-03-25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Dropbear lags behind OpenSSH significantly in both support for modern key formats like `ssh-ed25519`, let alone the recently-introduced U2F/FIDO2-based `sk-ssh-ed25519@openssh.com` (as I found when I switched my `authorizedKeys` over to it and promptly locked myself out of my server's initrd SSH, breaking reboots), as well as security features like multiprocess isolation. Using the same SSH daemon for stage-1 and the main system ensures key formats will always remain compatible, as well as more conveniently allowing the sharing of configuration and host keys. The main reason to use Dropbear over OpenSSH would be initrd space concerns, but NixOS initrds are already large (17 MiB currently on my server), and the size difference between the two isn't huge (the test's initrd goes from 9.7 MiB to 12 MiB with this change). If the size is still a problem, then it would be easy to shrink sshd down to a few hundred kilobytes by using an initrd-specific build that uses musl and disables things like Kerberos support. This passes the test and works on my server, but more rigorous testing and review from people who use initrd SSH would be appreciated!
* | Merge pull request #80114 from rnhmjoj/initrdDanylo Hlynskyi2020-03-16
|\ \ | | | | | | nixos/boot: add option to disable initrd
| * | nixos/boot: add option to disable initrdrnhmjoj2020-02-15
| |/
* / nixos/stage-1: fix predictable interfaces namesFranz Pletz2020-02-08
|/ | | | | | | This makes predictable interfaces names available as soon as possible with udev by adding the default network link units to initrd which are read by udev. Also adds some udev rules that are needed but which would normally loaded from the udev store path which is not included in the initrd.
* stage-1 initrd: replace absolute paths for mdadmNikolay Amiantov2019-08-01
| | | | | We don't patch basename and readlink now too as they were added for mdadm in 8ecd3a5e1db4.
* nixos/stage-1: "find-libs" shell script is for the hostPierre Bourdon2019-04-18
|
* stage-1: provide meaningful names to initrd and module treeLinus Heckemann2019-04-13
|
* nixos: add preferLocalBuild=true; on derivations for config filesSymphorien Gibol2019-02-22
|
* types.optionSet: deprecate and remove last usagesdanbst2019-01-31
|
* Merge pull request #42183 from kisik21/masterJörg Thalheim2019-01-17
|\ | | | | nixos/stage-1, nixos/f2fs: added F2FS resizing
| * nixos/stage-1, nixos/f2fs: moved f2fs resizing tools include in f2fs moduleVictor Shlein2018-06-19
| |
| * nixos/stage-1: new separate conditionals for ext4 and f2fs resizing toolsVictor Shlein2018-06-19
| |
| * nixos/stage-1: implemented separate check for f2fs filesystems in need of ↵Victor Shlein2018-06-19
| | | | | | | | resizing
| * nixos/stage-1: added f2fs-tools' tools for resizingVictor Shlein2018-06-19
| |
* | stage1 boot: use stdenv.cc.libcWill Dietz2018-10-30
| | | | | | | | (cherry picked from commit d3ae884c9eeb4a6f66ac4e57764c04db16ea7c71)
* | bootStage1: fix cross build (@matthewbauer's solution)volth2018-10-12
| |
* | bootStage1: fix cross buildvolth2018-10-12
| |
* | Merge master into stagingFrederik Rietdijk2018-08-09
|\ \
| * | nixos: boot/stage-1: check syntax of the generated scriptJan Malakhovski2018-08-08
| | |
* | | stage-1: Remove last reference of now-removed stdenv.isCrossJohn Ericson2018-08-06
|/ /