| Commit message (Collapse) | Author | Age |
... | |
|\
| |
| | |
nixos-enter: Ensures presence of full /sys tree. (for efivarfs)
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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.
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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.
|
|/
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
It's just unfreeRedistributableFirmware now.
|
|
|
|
|
|
|
| |
- 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
|
| |
|
|\
| |
| | |
Virtualisation
|
| |
| |
| |
| | |
Allow to double click/middle click paste path a bit quicker.
|
|/
|
|
|
| |
also disable upower on virtualbox
Fixes #36348
|
|
|
|
|
| |
Not doing so makes it impossible to use nixos-enter from a non-NixOS
distro
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|\ |
|
| | |
|
| | |
|
| |
| |
| |
| | |
This was previously done by nixos-prepare-root.
|
| |
| |
| |
| | |
And test that it got installed correctly.
|
|\| |
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| | |
aarch64 image
As was done in commit cd2e740dde9541ad5f1d9efd93bcb5a967379ece.
|
| | |
|
| | |
|
| |
| |
| |
| | |
This is no longer needed thanks to Nix 2.0 magic.
|
| |
| |
| |
| |
| | |
This is useful in tests where we don't have network access. Passing
--substituters "" prevents wasting time by checking cache.nixos.org.
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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:/]#
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| | |
E.g.
nixos-install --root /tmp/mnt/ --no-bootloader --no-root-passwd
now works for non-root users.
|
| |
| |
| |
| |
| | |
The boot test now runs "nix verify" to ensure that all hashes are
correct.
|
| |
| |
| |
| | |
The activation script already does this.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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.
|
|/
|
|
|
| |
This factors out the functionality in nixos-install for running a
command inside a NixOS installation (nixos-install --chroot).
|
|
|
|
|
| |
3d040f93051866 removed it from installation-device.nix, but the default
loglevel is just too low for ARM and the like.
|
|
|
|
| |
Also add some comments on the existing config settings as well.
|
|\
| |
| | |
Aarch64 Netboot
|
| | |
|
|/ |
|
|
|
|
|
| |
Also move patches from sd-image-aarch64.nix, they might be useful for
the older raspberries as well.
|
|
|
|
| |
see https://github.com/NixOS/nixpkgs/pull/31630#issuecomment-344073438
|
|\
| |
| | |
nixos-prepare-root: chmod if dir already exists, fixes #22413
|
| | |
|
|/ |
|
|
|
|
|
| |
This brings useful goodies like lspci and lsusb that were missing
previously.
|
|
|
|
|
| |
Also drop boot.consoleLogLevel which already comes from
installation-device.nix
|
| |
|