summary refs log tree commit diff
path: root/nixos/modules/installer
Commit message (Collapse)AuthorAge
* 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
|
* nixos-generate-config: lessen priority for cpuFreqGovernor (#30221)Danylo Hlynskyi2017-10-20
| | | | | | | | | | In particular, it conflicts with `services.tlp.enable` option. There exists workaround: ``` powerManagement.cpuFreqGovernor = lib.mkForce null; services.tlp.enable = true; ``` But should it?
* Merge pull request #30172 from mayflower/cleanup/firmware-modulesFranz Pletz2017-10-12
|\ | | | | nixos: clean up wifi firmware & default kernel modules
| * nixos/modules: clean up wireless firmware optionsFranz Pletz2017-10-07
| | | | | | | | | | | | All available options were just enabling hardware.enableRedistributableFirmware. There were nix files without modules which weren't referenced anywhere.
* | nixos: Fix detection of btrfs root volumeaszlig2017-10-11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Regression introduced by 801c920e95642ec663d4aa486c81e5443e25b182. Since then, the btrfsSimple subtest of the installer VM test fails with: Btrfs did not return a path for the subvolume at / The reason for this is that the output for "btrfs subvol show" has changed between version 4.8.2 and 4.13.1. For example the output of "btrfs subvol show /" in version 4.8.2 was: / is toplevel subvolume In version 4.13.1, the output now is the following and thus the regular expressions used in nixos-generate-config.pl and install-grub.pl now match (which results in the error mentioned above): / Name: <FS_TREE> UUID: - Parent UUID: - Received UUID: - Creation time: - Subvolume ID: 5 Generation: 287270 Gen at creation: 0 Parent ID: 0 Top level ID: 0 Flags: - Snapshot(s): In order to fix this I've changed nixos-generate-config.pl and install-grub.pl, because both use "btrfs subvol show" in a similar vein, so the regex for parsing the output now doesn't match anymore whenever the volume path is "/", which should result in the same behaviour as we had with btrfs-progs version 4.8.2. Tested against the btrfsSimple, btrfsSubvols and btrfsSubvolDefault subtests of the installer VM test and they all succeed now. Signed-off-by: aszlig <aszlig@redmoonstudios.org>
* | btrfs-progs: 4.8.2 -> 4.13.1Franz Pletz2017-10-07
|/
* nixos/iso-image.nix: add top-level /version.txt fileBjørn Forsman2017-09-28
| | | | | This makes it easy to identify which NixOS version is written to an USB stick without actually booting it.
* Merge pull request #28777 from copumpkin/installer-chrootDaniel Peebles2017-09-26
|\ | | | | nixos-install: re-enable --chroot option
| * nixos-install: re-enable --chroot optionDan Peebles2017-09-26
| | | | | | I forgot to implement it the first time around. Whoops!
* | nixos-generate-config: add programs options examplesFranz Pletz2017-09-23
| |
* | nixos/install: disable kernel debug console loggingFranz Pletz2017-09-23
| | | | | | | | | | | | | | Add another option for debugging instead. Lots of users have been complaining about this default behaviour. This patch also cleans up the EFI bootloader entries in the ISO.
* | sd-image-aarch64: Increase CMA memory so RPi3 virtual console works againTuomas Tynkkynen2017-09-15
| |
* | Merge pull request #27342 from lheckemann/installer-changesJörg Thalheim2017-09-15
|\ \ | | | | | | Installer changes
| * | nixos-install: use FIFO for system closureLinus Heckemann2017-07-13
| | | | | | | | | | | | | | | This avoids running out of space in space-constrained environments, e.g. VMs with relatively small amounts of memory and tmp on tmpfs
| * | nixos-install: only search for nixpkgs when neededLinus Heckemann2017-07-13
| | |
* | | nix: 1.11.14 -> 1.11.15Eelco Dolstra2017-09-15
| | |
* | | Merge pull request #28775 from grahamc/describe-stateVersionGraham Christensen2017-08-31
|\ \ \ | | | | | | | | Document the stateVersion more
| * | | configuration.nix: Document the stateVersion moreGraham Christensen2017-08-30
| | |/ | |/|
* / | nix: 1.11.13 -> 1.11.14Eelco Dolstra2017-08-31
|/ /
* | installer: add a comment hinting about enabling libinput for touchpadsGraham Christensen2017-08-30
| |
* | Deduplicate some filterSource invocationsDan Peebles2017-08-29
| | | | | | | | | | | | | | | | | | This version should have more conventional regexes that work across many platforms and regex engines. This is an issue because up until Nix 1.11, Nix called out to the libc regex matcher, which behaved differently on Darwin and Linux. And in Nix 1.12, we're moving to std::regex which will also behave differently here. And yes, I do actually evaluate make-disk-image.nix on Darwin ;)
* | auto-upgrade: add proxy supportPascal Bach2017-08-30
| | | | | | | | Add the proxy variables so that auto upgrade works behind a proxy.
* | nix: 1.11.12 -> 1.11.13Eelco Dolstra2017-07-18
| |
* | nix: 1.11.11 -> 1.11.12Eelco Dolstra2017-07-13
|/
* nixos-install: quote nixos-prepare-root argumentsLinus Heckemann2017-07-12
| | | | This prevents the script from breaking when channel_root is empty.
* nixos-rebuild: Respect empty NIX_REMOTEEelco Dolstra2017-07-07
| | | | | | | Fixes #11384. Note: in Nix 1.12, you can set NIX_REMOTE to "local" to avoid ambiguity.
* nix: 1.11.10 -> 1.11.11Eelco Dolstra2017-06-19
| | | | (cherry picked from commit 7b1e936b24ca60810cdb6d46b68300cd179836f1)
* nix: 1.11.9 -> 1.11.10Eelco Dolstra2017-06-12
|
* sd-image-*.nix: Drop minimal profileTuomas Tynkkynen2017-05-14
| | | | It's annoying to not have manpages when installing.
* Merge pull request #25611 from Lassulus/copytoram-optionJörg Thalheim2017-05-09
|\ | | | | nixos/iso-image: add option for copytoram
| * nixos/iso-image: add option for copytoramlassulus2017-05-08
| |
* | hardware.enableRedistributableFirmware: fix spelling errorJörg Thalheim2017-05-09
| |
* | hardware: add enableRedistributalFirmwareJörg Thalheim2017-05-09
|/ | | | | | | | Due the recent inclusion of broadcom-bt-firmware in enableAllFirmware, it was required to set `nixpkgs.config.allowUnfree` to obtain the full list. To make this dependency more explicit an assertion is added and an alternative option `enableRedistributalFirmware` is provided to only obtain firmware with an license allowing redistribution.
* nixos-prepare-root: force symlink at /runJörg Thalheim2017-05-01
| | | | Otherwise a reinstall will fail.
* nix: 1.11.8 -> 1.11.9Eelco Dolstra2017-04-25
|
* make-disk-image: change to be less VM-centricDan Peebles2017-04-24
| | | | | | | | | | This changes much of the make-disk-image.nix logic (and thus most NixOS image building) to use LKL to set up the target directory structure rather than a Linux VM. The only work we still do in a VM is less IO-heavy stuff that while still time-consuming, is less of the overall load. The goal is to kill more of that stuff, but that will require deeper changes to NixOS activation scripts and switch-to-configuration.pl, and I don't want to bite off too much at once.
* Refactor nixos-install to separate out filesystem build logicDan Peebles2017-04-16
| | | | | | | | | | | The key distinction I'm drawing is that there's a component that deals with the store of the machine being built, and another component for the store building it. The inner part of it assumes nothing from the builder (doesn't need chroot or root powers) so it can run comfortably inside a Nix build, as well as nixos-rebuild. I have some upcoming work that will use that to significantly speed up and streamline image builds for NixOS, especially on virtualized hosts like EC2, but it's also a reasonable speedup on native hosts.
* channel.nix: Use filterSource to exclude unnecessary files from nixpkgsTuomas Tynkkynen2017-03-25
| | | | | | | | | | | | | | | | | | Currently, if you try to build a NixOS config including channel.nix, e.g.: nix-build -I nixpkgs=. -I nixos-config=nixos/modules/installer/cd-dvd/installation-cd-minimal.nix nixos -A config.system.build.isoImage twice in a row, you end up with two different build results. This is caused by the 'result' symlink of the first build affecting the channel contents of the second build. If we use filterSource with a predicate that ignores the 'result' symlinks, the problem is gone. Do the same thing for VIM/Emacs swap/backup files to avoid even more 'spurious' rebuilds. Additionally, filter out the '.git' directory at the same time, as we 'rm -rf' it from the result anyway. This avoids a considerable amount of unnecessary file I/O copying and deleting the .git directory.