about summary refs log tree commit diff
path: root/nixos/modules/installer
Commit message (Collapse)AuthorAge
* nixos-generate-config: enable overriding configuration.nixBas van Dijk2019-08-08
|
* nixos netboot: explicitly specify initrdNikolay Amiantov2019-07-15
| | | | Needed for iPXE on UEFI, see http://forum.ipxe.org/archive/index.php/thread-7589.html
* sd-image-raspberrypi: populateBoot -> populateFirmwareSamuel Dionne-Riel2019-06-25
| | | | Fixes an incomplete change from the last changes.
* Merge pull request #62462 from samueldr/sd-image/fat-freeSamuel Dionne-Riel2019-06-24
|\ | | | | sd-image: FAT free /boot
| * sd-image: Adds removed options for removed optionsSamuel Dionne-Riel2019-06-16
| | | | | | | | | | | | | | | | This will keep configuration configuring the size of the /boot partition still build, while showing the deprecation warning. In 99.9% of cases I assume ignoring the configuration is better, as the sd-image builder already is pretty opinionated in that matter.
| * sd-image: Pull less slack in the image by accounting for slackSamuel Dionne-Riel2019-06-16
| | | | | | | | | | | | | | | | The slack, seemingly, accounted for more than the minimum required for slack plus the two partitions. This change makes the gap a somewhat abstracted amount, but is not configurable within the derivation.
| * sd-image: Updates commentsSamuel Dionne-Riel2019-06-16
| |
| * sd-image: firmware partition reduced to 20MiBSamuel Dionne-Riel2019-06-16
| |
| * sd-image: Switch /boot to the ext4 partitionSamuel Dionne-Riel2019-06-16
| |
| * sd-image: Moves `/boot` into rootfsSamuel Dionne-Riel2019-06-16
| | | | | | | | | | | | | | | | | | The current FAT32 partition is kept as it is required for the Raspberry Pi family of hardware. It is where the firmware is kept. The partition is kept bootable, and the boot files kept in there until the following commits, to keep all commits of this series individually bootable.
* | Merge pull request #63147 from samueldr/aarch64/graphics-fixesSamuel Dionne-Riel2019-06-24
|\ \ | | | | | | aarch64: misc. graphical boot fixes
| * | sd-image-aarch64: Allows early modesetting for Allwinner boardsSamuel Dionne-Riel2019-06-15
| | | | | | | | | | | | | | | | | | This will reduce the confusion at boot, where the only thing visible is the last message from u-boot; where it looks like the board is hung, while in reality it's likely resizing partitions.
| * | sd-image-aarch64: Allows early modesetting for the Raspberry PiSamuel Dionne-Riel2019-06-15
| |/ | | | | | | | | | | This will reduce the confusion at boot, where the only thing visible is the last message from u-boot; where it looks like the Raspberry Pi is hung, while in reality it's likely resizing partitions.
* | treewide: remove unused variables (#63177)volth2019-06-16
| | | | | | | | | | | | * treewide: remove unused variables * making ofborg happy
* | nixos-generate-config: don't emit tmpfs entry for /tmpBjørn Forsman2019-06-16
| | | | | | | | | | Because it most likely comes from the boot.tmpOnTmpfs option in configuration.nix (managed declaratively).
* | nixos-generate-config: add dm-snapshot module if LVM is detectedBjørn Forsman2019-06-16
| | | | | | | | | | | | | | | | | | | | Without this, the system becomes unbootable if the user creates a LVM snapshot and reboots. Fixes https://github.com/NixOS/nixpkgs/issues/33646 (The same kind of problem was fixed in RHEL a few years back: https://bugzilla.redhat.com/show_bug.cgi?id=1287940)
* | nixos-generate-config: don't generate swapDevices for *files*Bjørn Forsman2019-06-16
|/ | | | | | | | | | | | | | | | | | Up until now, the output has been the same for swap devices and swap files: { device = "/var/swapfile"; } Whereas for swap *files* it's easier to manage them declaratively in configuration.nix: { device = "/var/swapfile"; size = 8192; } (NixOS will create the swapfile, and later resize it, if the size attribute is changed.) With the assumption that swap files are specified in configuration.nix, it's silly to output them to hardware-configuration.nix.
* Merge pull request #62966 from bjornfor/nixos-generate-config-bcacheEelco Dolstra2019-06-12
|\ | | | | nixos-generate-config: add support for bcache
| * nixos-generate-config: add support for bcacheBjørn Forsman2019-06-10
| | | | | | | | | | | | | | | | | | Add "bcache" to boot.initrd.availableKernelModules if a bcache device is detected. This fixes a problem I've had one too many times: I install NixOS and forget to add "bcache", resulting in an unbootable machine (until fixed with Live CD). Now NixOS will do it for me.
* | Merge pull request #59803 from volth/patch-316Matthew Bauer2019-06-10
|\ \ | |/ |/| nixos/netboot: import -> callPackage
| * nixos/netboot: import -> callPackagevolth2019-04-18
| | | | | | | | | | Copy-paste from iso-image.nix Besides the simplification, it should use `pkgs.buildPackages.squashfsTools` because it is used in `nativeBuildInputs` instead of incorrect `pkgs.squashfsTools` which was forced by `import'
* | Merge pull request #60207 from volth/patch-329Yegor Timoshenko2019-05-22
|\ \ | | | | | | nixos-generate-config: do not build btrfs-tools when btrfs is not used
| * | nixos-generate-config: do not build btrfs-tools when btrfs is not usedvolth2019-04-25
| | | | | | | | | cross-compilation of `btrfs-tools` is broken, and this usually needless dependency of each system closure on `btrfs-tools` prevents cross-compilation of whole system closures
* | | Merge pull request #60406 from JohnAZoidberg/remove-isnullRobin Gloster2019-05-18
|\ \ \ | | | | | | | | treewide: Remove usage of isNull
| * | | treewide: Remove usage of isNullDaniel Schaefer2019-04-29
| |/ / | | | | | | | | | isNull "is deprecated; just write e == null instead" says the Nix manual
* / / nixos-generate-config: add rudimentary high-DPI detectionLinus Heckemann2019-05-15
|/ / | | | | | | Fixes the main remaining part of #12345
* | 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"