summary refs log tree commit diff
path: root/nixos/modules/installer
Commit message (Collapse)AuthorAge
* Merge branch 'master' into stagingVladimír Čunát2016-02-17
|\
| * Merge pull request #12742 from dezgeg/pr-uboot-changesTuomas Tynkkynen2016-02-15
| |\ | | | | | | U-Boot: 2015.10 -> 2016.01, refactor & support some new boards
| | * sd-image.nix: Move the /boot partition up to 8MTuomas Tynkkynen2016-02-01
| | | | | | | | | | | | | | | | | | | | | | | | Reportedly some ARM boards need some boot code at the start of a SD card that could be larger than a megabyte. Change it to 8M, and while at it reduce the /boot size such that the root partition should now start on a 128M boundary (the flash on SD cards really don't like non-aligned writes these days).
| | * sd-image-armv7l-multiplatform.nix: Add ttymxc0 to the list of consolesTuomas Tynkkynen2016-02-01
| | | | | | | | | | | | | | | Needed for the RS-232 port on Wandboard Quad (and presumably other boards using the i.MX6 SoC).
| * | nixos-install: don't check that /mnt is a mount pointNikolay Amiantov2016-02-10
| | |
| * | Merge pull request #10417 from puffnfresh/nixos/mmc_blockRobin Gloster2016-02-08
| |\ \ | | | | | | | | initrd: add mmc_block to default available modules
| | * | initrd: add mmc_block to default available modulesBrian McKenna2015-10-16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | mmc_block and sdhci_acpi are both necessary for a Bay Trail Chromebook with an internal eMMC drive. The sdhci_acpi module is detectable but I can not figure out a way to check whether the mmc_block module is needed by just looking at /sys/
* | | | Merge branch 'master' into stagingVladimír Čunát2016-02-07
|\| | |
| * | | filesystems: use list of strings for fs optionsAneesh Agrawal2016-02-06
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Allow usage of list of strings instead of a comma-separated string for filesystem options. Deprecate the comma-separated string style with a warning message; convert this to a hard error after 16.09. 15.09 was just released, so this provides a deprecation period during the 16.03 release. closes #10518 Signed-off-by: Robin Gloster <mail@glob.in>
| * | | nixos-rebuild: Don't propagate --no-out-link arg to nix-storeRickard Nilsson2016-02-01
| | | |
| * | | nixos-rebuild: Do not create result symlinks for boot/switch actions ↵Rickard Nilsson2016-02-01
| | | | | | | | | | | | | | | | (resolves #12665)
* | | | Configure a default trust store for opensslGuillaume Maudoux2016-02-03
|/ / /
* | / nixos-generate-config: fix #12595: broadcom quotingVladimír Čunát2016-01-25
| |/ |/|
* | nixos-rebuild: Build only the 'out' output of nix (not 'doc' and 'debug' too)Rickard Nilsson2016-01-20
| | | | | | | | This fixes the failing NixOS installer tests.
* | Revert "Revert "nixos-rebuild: Add option for building and/or deploying on a ↵Rickard Nilsson2016-01-20
| | | | | | | | | | | | remote host"" This reverts commit 78be7f5a53e3945b72482a99c639f5fe8cc75fd6.
* | jobs -> systemd.servicesRobin Gloster2016-01-17
| | | | | | | | missed an override
* | Fix ISO building from a channelDomen Kožar2016-01-16
| | | | | | | | | | | | | | | | | | | | | | | | | | Building config.system.build.isoImage would fail with the following error using the channel: ln: failed to create symbolic link '/nix/store/zz0hzi5imrg4927v6f8mv281qs6v6pbq-nixos-16.03pre69762.e916273/nixos/nixpkgs/.': File exists The fix skips symlink as it already exists if the channel nixpkgs copy is used. Fixes #10367
* | Revert "nixos-rebuild: Add option for building and/or deploying on a remote ↵Domen Kožar2016-01-10
| | | | | | | | | | | | | | | | host" This reverts commit ca0c46040649ab4a6d5d7bc838b393fdcbcae10c. All the installer tests are failing due to this change. cc @rickynils
* | Merge pull request #10996 from oxij/nixos-labelArseniy Seroka2016-01-09
|\ \ | | | | | | nixos: introduce system.nixosLabel support
| * | nixos: introduce system.nixosLabel option and use it where appropriateJan Malakhovski2016-01-08
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Setting nixosVersion to something custom is useful for meaningful GRUB menus and /nix/store paths, but actuallly changing it rebulids the whole system path (because of `nixos-version` script and manual pages). Also, changing it is not a particularly good idea because you can then be differentitated from other NixOS users by a lot of programs that read /etc/os-release. This patch introduces an alternative option that does all you want from nixosVersion, but rebuilds only the very top system level and /etc while using your label in the names of system /nix/store paths, GRUB and other boot loaders' menus, getty greetings and so on.
* | | jobs -> systemd.servicesRobin Gloster2016-01-07
| | |
* | | Merge pull request #11279 from rickynils/nixos-rebuild-remoteEelco Dolstra2016-01-04
|\ \ \ | | | | | | | | nixos-rebuild: Add option for building and/or deploying on a remote host
| * | | nixos-rebuild: Add option for building and/or deploying on a remote hostRickard Nilsson2016-01-01
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This commit adds the options --build-host and --target-host to nixos-rebuild. --build-host instructs nixos-rebuild to perform all nix builds on the specified host (via ssh). Build results are then copied back to the local machine and used when activating the system. --build-target instructs nixos-rebuild to activate the configuration not on the local machine but on the specified remote host. Build results are copied to the target machine and then activated there (via ssh). It is possible to combine the usage of --build-host and --target-host, in which case you can perform the build on one remote machine and deploy the configuration to another remote machine. The only requirement is that the build host has a working ssh connection to the target host (if the target is not local), and that the local machine can connect to both the target and the build host. Also, your user must be allowed to copy nix closures between the local machine and the target and host machines. At no point in time are the configuration sources (the nix files) copied anywhere. Instead, nix evaluation always happens locally (with nix-instantiate). The drv-file is then copied and realised remotely (with nix-store). As a convenience, if only --target-host is specified, --build-host is implicitly set to that host too. So if you want to build locally and deploy remotely you have to explicitly set "--build-host localhost". To activate (test, boot or switch) you need to have root access to the target host. You can specify this by "--target-host root@myhost". I have tested the obvious scenarios and they are working. Some of the combinations of --build-host and --target-host and the various actions might not make much sense, and should maybe be forbidden (like setting a remote target host when building a VM), and some combinations might not work at all.
* | | | btrfsProgs -> canonical btrfs-progsTobias Geerinckx-Rice2016-01-03
|/ / /
* | | Merge branch 'pr-cd-nomodeset' of git://github.com/dezgeg/nixpkgsShea Levy2015-12-24
|\ \ \
| * | | installation-cd: Add separate boot entry that has 'nomodeset'Tuomas Tynkkynen2015-12-24
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | We seem to be in an unfortunate situation: booting without 'nomodeset' causes hangs when booting on some NVIDIA cards (6948c3ab807), but on the other hand adding 'nomodeset' prevents X from starting on other hardware (e.g. issue #10381 and my Thinkpad X250 with an integrated Broadwell GPU). Attempt to remedy this situation a bit by adding a separate entry in the ISOLINUX menu (with the non-'nomodeset' being the default).
* / / nixos autoUpgrade: add a 'dates' optionEelco Dolstra2015-12-19
|/ / | | | | | | | | (cherry picked from commit 80917d2473d321d7a990cf991c6353547976638c) Originally merged #11808 to release-15.09 directly. Close #11821.
* | Merge pull request #10586 from dezgeg/pr-arm-tweaksArseniy Seroka2015-10-25
|\ \ | | | | | | nixos: Minor improvements to ARM image expressions
| * | ARM: Use linuxPackages_latest in ARMv7 imageTuomas Tynkkynen2015-10-24
| | | | | | | | | | | | 4.2 is out now, which includes the pcDuino3 Nano DTB.
| * | ARM: Don't disable manual in installation imagesTuomas Tynkkynen2015-10-24
| | | | | | | | | | | | | | | | | | Since commits 89e9837 and 5b8dae8 the manual no longer depends on evaluation of any packages from nixpkgs, so all errors of the form "Package 'foo' is not supported on 'armv7l-linux'" are gone.
* | | fix spellingArseniy Seroka2015-10-25
|/ /
* / nixos-generate-config: look at mmc_host for device driversBrian McKenna2015-10-16
|/ | | | | | I needed to add sdhci_acpi and mmc_block to my initrd modules in order to boot my Chromebook. Looking under /sys/class/mmc_host/*/device/driver/module will give us the sdhci_acpi dependency.
* nixos-generate-config: detect brcmfmac requirementCharles Strahan2015-10-15
| | | | | | | This makes the firmware available (or would, if someone switched off enableAllFirmware). Corresponding kernel module should get auto-loaded. See #9948. Close #9971.
* Fix nixos-upgradeEelco Dolstra2015-10-05
|
* Merge pull request #10160 from dezgeg/pr-unset-build-hook-in-nixos-installEelco Dolstra2015-09-30
|\ | | | | nixos-install: Don't use NIX_BUILD_HOOK from caller's environment
| * nixos-install: Don't use NIX_BUILD_HOOK from caller's environmentTuomas Tynkkynen2015-09-30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | If nixos-install is run on a machine with `nix.distributedBuilds = true` the installation will fail at some point like this: Died at /nix/store/4frhrl31cl7iahlz6vyvysy5dmr6xnh3-nix-1.10/libexec/nix/build-remote.pl line 115, <STDIN> line 1. This is due to `nix.distributedBuilds` setting NIX_BUILD_HOOK=/nix/store/.../build-remote.pl in the global environment, which then gets confused in the minimal chroot created by nixos-install. To avoid these kinds of issues with build hooks, just disable them in the chroot.
* | Bump fallback Nix store pathsEelco Dolstra2015-09-30
|/
* channel.nix: Fix broken flag to skip substitutesEelco Dolstra2015-09-27
|
* nixos-generate-config: Don't enable vbox guest via deprecated optionTuomas Tynkkynen2015-08-16
| | | | | | | | | Avoids this warning when running `nixos-rebuild switch`: ```` building Nix... building the system configuration... trace: Obsolete option `services.virtualboxGuest.enable' is used. It was renamed to `virtualisation.virtualbox.guest.enable'. ````
* Add auto update featureEelco Dolstra2015-08-07
| | | | | | | | You can now keep your system up to date automatically by setting: system.autoUpgrade.enable = true; Fixes #7369.
* Unify NixOS and Nixpkgs channel structureEelco Dolstra2015-08-05
| | | | | | | | | | | | | | | | | | | | | | This is primarily to ensure that -I nixpkgs=https://nixos.org/channels/nixos-unstable/nixexprs.tar.xz and -I nixpkgs=https://github.com/NixOS/nixpkgs-channels/archive/nixos-unstable.tar.gz and -I nixpkgs=https://nixos.org/channels/nixpkgs-unstable/nixexprs.tar.xz behave consistently. It also allows installing packages via "nix-env -iA nixos.<pkg>" rather than "nixos.pkgs.<pkg>". It would be even better to allow "nixpkgs.<pkg>", but that requires a change to nix-channel. Fixes #7659.
* Remove some obsolete references to <nixos>Eelco Dolstra2015-08-05
|
* Update fallback Nix store pathsEelco Dolstra2015-08-05
|
* nixos-install: Source the profile when running inside the chrootEelco Dolstra2015-08-05
|
* Merge pull request #8978 from dezgeg/pr-arm-imagesviric2015-07-29
|\ | | | | ARM SD card image expressions
| * nixos: Add derivations for SD card installation images on ARMTuomas Tynkkynen2015-07-26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The resulting image can be copied to a SD card with `dd` and is directly bootable by a suitably configured U-Boot. Though depending on the board, some extra steps are required for copying U-Boot itself to the SD card. Inside the image is a partition table, with a FAT32 /boot and a normal writable EXT4 rootfs. It's possible to directly reuse the SD image's partition layout and "install" NixOS on the same SD card by replacing the default configuration.nix and nixos-rebuild, and actually is the preferred way to use these images. To assist in this installation method, the boot scripts on the image automatically resize the rootfs partition to fit the SD card on the first boot. The SD images come in two flavors; one for the ARMv6 Raspberry Pi, and one multiplatform image for all the boards supported by the mainline kernel's multi_v7_defconfig config target. At the moment, these have been tested on: - Raspberry Pi Model B (512MB model) - NVIDIA Jetson TK1 - Linksprite pcDuino3 Nano To build, run: nix-build '<nixpkgs/nixos>' -A config.system.build.sdImage \ -I nixos-config='<nixpkgs/nixos/modules/installer/cd-dvd/sd-image-armv7l-multiplatform.nix>'
* | Add option system.stateVersionEelco Dolstra2015-07-27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This option requests compatibility with older NixOS releases with respect to stateful data, in cases where new releases have defaults that might be incompatible with system state of existing NixOS deployments. For instance, if we change the default version of PostgreSQL, existing deployments will break if the new version can't read databases created by the old version. So for example, setting system.stateVersion = "15.07"; requests that options like services.postgresql.package use defaults corresponding to the 15.07 release branch. Note that nixos-generate-config emits this option. (In the future, NixOps may set system.stateVersion to the NixOS release in use when the machine was created.) See also #7939 for another motivating example.
* | Fix testsEelco Dolstra2015-07-27
| |
* | Installer: Add nomodeset and blacklist the nouveau driverEelco Dolstra2015-07-25
| | | | | | | | | | I observed a hang at the moment the nouveau driver gets loaded on a GTX 970.
* | Fix description of boot.consoleLogLevelEelco Dolstra2015-07-25
|/