about summary refs log tree commit diff
path: root/nixos/modules/installer
Commit message (Collapse)AuthorAge
* treewide: Remove usage of isNullDaniel Schaefer2019-04-29
| | | | isNull "is deprecated; just write e == null instead" says the Nix manual
* Merge pull request #59435 from furrycatherder/fix-tarballMatthew Bauer2019-04-20
|\ | | | | nixos: fix system-tarball
| * nixos: fix system-tarballSean Haugh2019-04-13
| |
* | nix: 2.2 -> 2.2.2Eelco Dolstra2019-04-15
|/
* Merge pull request #55121 from Ma27/add-option-support-to-nixos-build-vmsDanylo Hlynskyi2019-04-14
|\ | | | | nixos-build-vms: pass `--option` to `nix-build`
| * nixos-build-vms: pass `--option` to `nix-build`Maximilian Bosch2019-02-04
| | | | | | | | | | | | | | Also simplified the argument parsing to write all currently supported CLI options into a bash array and pass this to `nix-build`. Also documented `--option` usage in the corresponding manpage.
* | Revert "Merge pull request #57559 from Ekleog/iso-image-reproducibilization"Léo Gaspard2019-04-01
| | | | | | | | | | This reverts commit bb32e322a5aa81203eb3494081539eea8a70adcb, reversing changes made to e0b4356c0dc7d35d9ee17d23b53d8c2020d4e618.
* | Merge pull request #57559 from Ekleog/iso-image-reproducibilizationGraham Christensen2019-03-29
|\ \ | | | | | | iso-image: make reproducible by not relying on mcopy's readdir
| * | iso-image: make reproducible by not relying on mcopy's readdirLéo Gaspard2019-03-13
| | |
* | | Merge pull request #58196 from tomfitzhenry/iso-syslinux-serial-consistentSilvan Mosberger2019-03-28
|\ \ \ | | | | | | | | syslinux: change serial bit rate to 115200
| * | | syslinux: change serial bit rate to 115200Tom Fitzhenry2019-03-24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Prior to this commit an installation over serial via syslinux would involve: 1. setting bitrate to BIOS's bitrate (typically 115200) 2. setting bitrate to syslinux's bitrate (38400) 3. setting bitrate to stty's bitrate (115200) By changing syslinux's bitrate to 115200, an installation over serial is a smoother experience, and consistent with the GRUB2 installation which is also 115200 bps. [root@nixos:~]# stty speed 115200 baud; line = 0; -brkint ixoff iutf8 -iexten In a future commit I will add default serial terminals to the syslinux kernel lines.
* | | | Merge pull request #54625 from FlorianFranzen/efi32Matthew Bauer2019-03-21
|\ \ \ \ | |/ / / |/| | | grub: Support 32bit EFI on 64bit platforms
| * | | grub: Support 32bit EFI on 64bit x86 platformsFlorian Franzen2019-03-18
| | | |
* | | | ova: remove stateVersionMatthew Bauer2019-03-09
| | | | | | | | | | | | This is undefined in the default configuration.nix template.
* | | | nixos/nixos-install: tell the user what to do if setting a root password failedMaximilian Bosch2019-03-08
| | | | | | | | | | | | | | | | | | | | | | | | If setting a root password using the `passwd` call in the `nixos-install` script fails, it should be explained how set it manually to ensure that nobody gets accidentally locked out of the system.
* | | | Merge pull request #56115 from matthewbauer/nixos-rebuild-upgrade-nixMatthew Bauer2019-03-02
|\ \ \ \ | |_|/ / |/| | | nixos-rebuild: try to get Nix fallback from new channel first
| * | | nixos-rebuild: get Nix from channelMatthew Bauer2019-02-20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If our old Nix can’t evaluate the Nixpkgs channel, try the fallback from the new channel /first/. That way we can upgrade Nix to a newer version and support breaking changes to Nix (like seen in the upgrade o Nix 2.0). This change should be backported to older NixOS versions!
* | | | nixos-rebuild: add edit command (#56241)Daiderd Jordan2019-02-25
| | | |
* | | | Merge pull request #56167 from etu/iso-with-audioElis Hirwing2019-02-22
|\ \ \ \ | | | | | | | | | | installer: Enable pulseaudio in all graphical iso's
| * | | | installer: Enable pulseaudio in all graphical iso'sElis Hirwing2019-02-21
| |/ / /
* / / / nixos: add preferLocalBuild=true; on derivations for config filesSymphorien Gibol2019-02-22
|/ / /
* | | nixos-generate-config: Don't suggest setting a uidEelco Dolstra2019-02-11
| | | | | | | | | | | | | | | | | | | | | This hasn't been needed for a long time, even when `mutableUsers = false`. Setting a uid manually is potentially risky since it could collide with non-declarative user accounts. (We do check for collisions between declarative accounts.)
* | | efi-image_eltorito: make reproducibleGraham Christensen2019-02-05
| | | | | | | | | | | | | | | | | | | | | './*' produces arguments ordered by inode. efiDir produces, reliably, ./EFI, so just make all the directories known explicitly.
* | | nixos-generate-config: account for mount points & devices with spaces & tabs ↵aanderse2019-02-03
| |/ |/| | | | | in the name (#50234)
* | Merge pull request #54519 from devhell/modify_ngc.plGraham Christensen2019-01-27
|\ \ | |/ |/| nixos-generate-config: Include extraGroups "wheel"
| * nixos-generate-config: Include extraGroups "wheel"devhell2019-01-27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | I've been asked, on numerous occasions, by my students and others, how to 'sudo' on NixOS. Of course new users could read up in the manual on how to do that, or we could make it more accessible for them by simply making it visible in the default `configuration.nix` file. Additionally, as raised in [1], replacing `guest` with something more recognizable could be potentially beneficial to new users. I've opted for `jane` for now. [1]: https://github.com/NixOS/nixpkgs/pull/54519#issuecomment-457012223
* | Merge pull request #48153 from Ma27/fix-nixos-option-for-invalid-optionsDanylo Hlynskyi2019-01-24
|\ \ | |/ |/| nixos-option: don't abort with shell failures if options are not existant
| * nixos-option: prune backtick from outputDanylo Hlynskyi2019-01-24
| | | | | | It doesn't work good with double-click selection in terminal (it gets into selection buffer of some terminals)
| * nixos-option: don't abort with shell failures if options are not existantMaximilian Bosch2018-10-10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | `nixos-option` basically handles two cases: the given option is either a valid option defined using `mkOption` or an attribute set which contains a set of options. If none of the above cases is valid, `$1` is invalid. Unfortunatley the script interpreted invalid options as an attribute set which rendered shell failures when trying to evaluate the arguments. First of all, `if names=$(attrNames ...)` resulted in `<PRIMOP>` as `attrNames` simply evaluated `builtins.attrNames $result` which results in a non-applied function with `$result` being empty. Trying to map over this string using `nixMap` while applying `escapeQuotes` causes the bash error as `eval echo "<PRIMOP>"` is invalid syntax. Explicitly checking if `$result' contains a value (do we have an attribute set?) and otherwise returning a warning and asking if $option exists fixes the problem. Fixes #48060
* | installer/tools: Avoid duplicate LUKS device entries in hw configClaudio Bley2019-01-19
| | | | | | | | | | | | | | | | | | There are situations where several filesystems reside on a single encrypted LUKS device (e.g. when using BTRFS subvolumes). Simply generating a `boot.init.luks.devices.NAME.device` entry for each mounted filesystem will result in an error later when evaluating the nix expression in `hardware-configuration.nix`.
* | Merge pull request #53801 from Mic92/nixos-buildersJörg Thalheim2019-01-13
|\ \ | | | | | | nixos-rebuild: allow to override builders
| * | nixos-rebuild: allow to override buildersJörg Thalheim2019-01-11
| | | | | | | | | | | | | | | | | | | | | Since nix 2.0 the no-build-hook option was replaced by the builders options that allows to override remote builders ad-hoc. Since it is useful to disable remote builders updating nixos without network, this commit reintroduces the option.
* | | Merge branch 'master' into staging-nextVladimír Čunát2019-01-12
|\ \ \ | | | | | | | | | | | | A couple thousand rebuilds have accumulated on master.
| * | | nix: 2.1.3 -> 2.2Eelco Dolstra2019-01-11
| |/ /
* | | Merge branch 'master' into staging-nextVladimír Čunát2019-01-10
|\| |
| * | Merge pull request #52594 from matthewbauer/fix-51025Matthew Bauer2019-01-07
| |\ \ | | | | | | | | make-disk-image: use filterSource instead of cleanSource
| | * | make-disk-image: use filterSource instead of cleanSourceMatthew Bauer2019-01-07
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | cleanSource does not appear to work correctly in this case. The path does not get coerced to a string, resulting in a dangling symlink produced in channel.nix. Not sure why, but this seems to fix it. Fixes #51025. /cc @elvishjericco
* | | | Merge staging-next into stagingFrederik Rietdijk2019-01-05
|\| | |
| * | | Merge master into staging-nextFrederik Rietdijk2019-01-03
| |\ \ \
| | * | | nixos/cpufreq: Remove the alias to set the cpu frequency governor(cdep)illabout2019-01-03
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This PR temporarily fixes the issue with PR 53041 as explained here: https://github.com/NixOS/nixpkgs/pull/53041#commitcomment-31825338 The alias `powerManagement.cpufreq.governor` to `powerManagement.cpuFreqGovernor` has been removed.
| * | | | Merge master into staging-nextFrederik Rietdijk2019-01-02
| |\| | |
* | | | | treewide: remove cross assertionsMatthew Bauer2019-01-02
| | | | | | | | | | | | | | | | | | | | | | | | | sd-image-raspberrypi, sd-image-aarch64, and sd-image-armv7l-multiplatform can all be cross compiled now.
* | | | | treewide: use buildPackages for config buildersMatthew Bauer2019-01-02
| | | | |
* | | | | Merge branch 'master' into stagingVladimír Čunát2019-01-02
|\ \ \ \ \ | |/ / / / |/| / / / | |/ / /
| * | | cpufreq: add option for setting the cpu max and min frequencies(cdep)illabout2019-01-01
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This adds a NixOS option for setting the CPU max and min frequencies with `cpufreq`. The two options that have been added are: - `powerManagement.cpufreq.max` - `powerManagement.cpufreq.min` It also adds an alias to the `powerManagement.cpuFreqGovernor` option as `powerManagement.cpufreq.governor`. This updates the installer to use the new option name. It also updates the manual with a note about the new name.
* | | | Merge staging-next into stagingFrederik Rietdijk2018-12-27
|\| | |
| * | | nixos/sd-image-aarch64-new-kernel: Added to releaseSamuel Dionne-Riel2018-12-26
| | | | | | | | | | | | | | | | | | | | | | | | This, paired with the previous commit, ensures the channel won't be held back from a kernel upgrade and a non-building sd image, while still having a new-kernel variant available.
| * | | nixos/sd-image-aarch64: Configures it to use the default kernelSamuel Dionne-Riel2018-12-26
| | | |
* | | | Merge staging-next into stagingFrederik Rietdijk2018-12-19
|\| | |
| * | | installer: Adds AArch64 UEFI installer support.Samuel Dionne-Riel2018-12-12
| |/ /