summary refs log tree commit diff
path: root/nixos/modules/installer
Commit message (Collapse)AuthorAge
...
* Merge pull request #39342 from samueldr/fix/nixos-enter-efivarfsMichael Raskin2018-04-23
|\ | | | | nixos-enter: Ensures presence of full /sys tree. (for efivarfs)
| * nixos-enter: Ensures presence of full /sys tree.Samuel Dionne-Riel2018-04-22
| | | | | | | | | | | | | | | | | | | | | | | | This partially reverts a change from e88f28965a7d76e83478d3ae6fcddc165b1c94f1 which removed the `mount --rbind /sys`. While true that the activation scripts will mount `sysfs` at `/sys`, none of the mountpoints lower in the `/sys` tree are handled by the activation script, which includes `efivarfs`. This fixes #38477 since it ensures the presence of `efivarfs` in the `/sys` tree, which is why the systemd-boot installation failed.
* | nixos/iso-image.nix: Fix typoTuomas Tynkkynen2018-04-22
| |
* | nix: 2.0 -> 2.0.1Eelco Dolstra2018-04-20
| |
* | nixos/installer/channel: Add some files that the channel also hasTuomas Tynkkynen2018-04-16
| | | | | | | | | | | | | | | | | | Nothing probably uses this, but let's be pedantic and have the pre-included channel on the install media be as close as possible to what 'nix-channel --update' will give them. The only remaining difference is that the channel adds programs.sqlite, which is fundamentally unfixable.
* | nixos: enable bash command completion by defaultBjørn Forsman2018-04-13
|/ | | | | | | | Because it improves out-of-the-box user experience a lot (IMHO). (zsh completion is already on by default.) Remove "programs.bash.enableCompletion = true" from nixos-generate-config.pl, which feels superflous now.
* nixos/sd-image-*: Raspberry Pi firmware no longer falls under unfreeTuomas Tynkkynen2018-04-02
| | | | It's just unfreeRedistributableFirmware now.
* nixos/sd-image: Make it more similar to iso-image.nixTuomas Tynkkynen2018-04-02
| | | | | | | - Add `imageName` and `imageBaseName` options similar to the `isoName` and `isoBaseName` options - Make the filename of the iso match what iso-image.nix does - Generate a nix-support/hydra-build-products like iso-image.nix does
* treewide: replace depecated alias s/mssys/ms-sys/gvolth2018-03-22
|
* Merge pull request #36850 from teto/virtualisationMichael Raskin2018-03-13
|\ | | | | Virtualisation
| * build-vm: remove trailing dot from script pathMatthieu Coudron2018-03-12
| | | | | | | | Allow to double click/middle click paste path a bit quicker.
* | demo: autologin through xserverMatthew Bauer2018-03-05
|/ | | | | also disable upower on virtualbox Fixes #36348
* nixos-enter: specify absolute path to bashobadz2018-03-04
| | | | | Not doing so makes it impossible to use nixos-enter from a non-NixOS distro
* nixos/netboot: Fix evaluation erroraszlig2018-03-03
| | | | | | | | | | | The function arguments for make-squashfs.nix have changed in df117acab7bf345500ffada26c240c9f815b7c21, so we need to change them here as well. The boot.netboot NixOS VM test now succeeds again. Signed-off-by: aszlig <aszlig@nix.build> Cc: @edolstra
* Merge branch 'master' into nix-2.0Vladimír Čunát2018-03-03
|\
| * tree-wide: autorename gnome packages to use dashesJan Tojnar2018-02-25
| |
| * nixos: disable sound by default, if stateVersion >= 18.03 (#35355)Aristid Breitkreuz2018-02-22
| |
* | nixos-install: Create /root/.nix-defexprEelco Dolstra2018-02-27
| | | | | | | | This was previously done by nixos-prepare-root.
* | Fix installing the Nixpkgs channel on the installation mediaEelco Dolstra2018-02-27
| | | | | | | | And test that it got installed correctly.
* | Merge remote-tracking branch 'origin/master' into nix-2.0Eelco Dolstra2018-02-22
|\|
| * nixos: rename config.system.nixos* -> config.system.nixos.*Jan Malakhovski2018-02-18
| |
| * nixos: use nixosLabel in more placesJan Malakhovski2018-02-18
| |
| * nixos: add system.boot.loader.initrdFile option and use it where appropriateJan Malakhovski2018-02-18
| |
| * nixos/sd-image-armv7l-multiplatform: Port RPi config.txt changes from ↵Tuomas Tynkkynen2018-02-07
| | | | | | | | | | | | aarch64 image As was done in commit cd2e740dde9541ad5f1d9efd93bcb5a967379ece.
* | nix: 1.11.16 -> 2.0Eelco Dolstra2018-02-22
| |
* | DohEelco Dolstra2018-02-07
| |
* | nixos-prepare-root: RemoveEelco Dolstra2018-02-07
| | | | | | | | This is no longer needed thanks to Nix 2.0 magic.
* | nixos-install: Accept --substitutersEelco Dolstra2018-02-07
| | | | | | | | | | This is useful in tests where we don't have network access. Passing --substituters "" prevents wasting time by checking cache.nixos.org.
* | nixos-install: Create /etcEelco Dolstra2018-02-07
| |
* | nixos-install: Fix --closureEelco Dolstra2018-02-07
| |
* | nixos-enter: Don't require rootEelco Dolstra2018-02-07
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Of course, you'll get a bunch of warnings from the activation script: $ nixos-enter --root /tmp/mnt/ setting up /etc... mount: /dev: permission denied. mount: /dev/pts: permission denied. mount: /dev/shm: permission denied. mount: /sys: permission denied. /nix/var/nix/profiles/system/activate: line 74: /proc/sys/kernel/modprobe: Permission denied chown: changing ownership of '/run/wrappers/wrappers.0pKlU8JsvV/dbus-daemon-launch-helper': Invalid argument NOTE: Under Linux, effective file capabilities must either be empty, or exactly match the union of selected permitted and inheritable bits. Failed to set capabilities on file `/run/wrappers/wrappers.0pKlU8JsvV/ping' (Operation not permitted) chown: changing ownership of '/run/wrappers/wrappers.0pKlU8JsvV/unix_chkpwd': Invalid argument [root@nixos:/]#
* | nixos-enter: Check whether --root denotes a NixOS installationEelco Dolstra2018-02-07
| |
* | nixos-install: Don't require rootEelco Dolstra2018-02-07
| | | | | | | | | | | | | | | | E.g. nixos-install --root /tmp/mnt/ --no-bootloader --no-root-passwd now works for non-root users.
* | ISO images: Initialize the Nix database with correct NAR hashes/sizesEelco Dolstra2018-02-07
| | | | | | | | | | The boot test now runs "nix verify" to ensure that all hashes are correct.
* | nixos-enter: Don't mount special filesystemsEelco Dolstra2018-02-05
| | | | | | | | The activation script already does this.
* | nixos-install: Make compatible with Nix 2.0Eelco Dolstra2018-02-05
| | | | | | | | | | | | | | | | | | | | | | | | | | | | The use of Nix 2.0 significantly simplifies the installer, since we can just pass a different store URI (--store /mnt) - it's no longer needed to set up a chroot environment for the build, and to bootstrap Nix into the chroot. Also, commands that need to run in the installation (namely boot loader installation and setting a root password) are now executed using nixos-enter. This also removes the need for nixos-prepare-root since any required initialisation is done by Nix or by the activation script.
* | Add a "nixos-enter" commandEelco Dolstra2018-02-05
|/ | | | | This factors out the functionality in nixos-install for running a command inside a NixOS installation (nixos-install --chroot).
* nixos/sd-image-*.nix: Bring back high consoleLogLevelTuomas Tynkkynen2018-01-24
| | | | | 3d040f93051866 removed it from installation-device.nix, but the default loglevel is just too low for ARM and the like.
* nixos/sd-image-aarch64.nix: Set avoid_warnings in RPi config.txtTuomas Tynkkynen2018-01-24
| | | | Also add some comments on the existing config settings as well.
* Merge pull request #32031 from NixOS/unstable-aarch64Graham Christensen2017-12-12
|\ | | | | Aarch64 Netboot
| * Netboot: Add aarch64Graham Christensen2017-12-11
| |
* | nix: 1.11.15 -> 1.11.16Eelco Dolstra2017-12-12
|/
* U-Boot: 2017.03 -> 2017.11Tuomas Tynkkynen2017-11-18
| | | | | Also move patches from sd-image-aarch64.nix, they might be useful for the older raspberries as well.
* nixos-option: don't eval descriptionMaximilian Bosch2017-11-14
| | | | see https://github.com/NixOS/nixpkgs/pull/31630#issuecomment-344073438
* Merge pull request #31071 from yegortimoshenko/nixos-install/mkdir-or-chmodOrivej Desh2017-11-11
|\ | | | | nixos-prepare-root: chmod if dir already exists, fixes #22413
| * nixos-prepare-root: chmod if dir already existsYegor Timoshenko2017-11-04
| |
* | nixos-generate-config: enforce umask 0022, fixes #30954Yegor Timoshenko2017-10-30
|/
* sd-image-*: Include profiles/base.nixTuomas Tynkkynen2017-10-25
| | | | | This brings useful goodies like lspci and lsusb that were missing previously.
* sd-image-aarch64.nix: Document serial ports usedTuomas Tynkkynen2017-10-25
| | | | | Also drop boot.consoleLogLevel which already comes from installation-device.nix
* sd-image-armv7l-multiplatform.nix: Document serial consoles usedTuomas Tynkkynen2017-10-25
|