about summary refs log tree commit diff
path: root/nixos/modules/installer
Commit message (Collapse)AuthorAge
* iso-image-kde: Disable synapticsadisbladis2019-09-07
| | | | It's been deprecated since 17.09 and libinput is a better default
* Merge branch 'master' into staging-nextJan Tojnar2019-09-06
|\ | | | | | | Fixed trivial conflicts caused by removing rec.
| * nix: 2.2.2 -> 2.3Eelco Dolstra2019-09-04
| |
* | Merge branch 'master' into stagingVladimír Čunát2019-09-02
|\|
| * sd-image: don't use installer.cloneConfig option that is not importedBen Wolsieffer2019-09-01
| | | | | | | | | | This once again allows sd-image.nix to imported standalone to build SD images of arbitrary NixOS systems.
| * nixos/modules: Remove all usages of types.stringSilvan Mosberger2019-08-31
| | | | | | | | | | | | And replace them with a more appropriate type Also fix up some minor module problems along the way
* | Merge staging-next into stagingFrederik Rietdijk2019-08-31
|\|
| * sd-image.nix: set installer.cloneConfig to falseFlorian Klink2019-08-19
| | | | | | | | | | | | | | As SD Card images are both installation media and installation target, don't copy over a /etc/nixos/configuration.nix Closes #63576.
* | treewide: remove redundant recvolth2019-08-28
|/
* nixos/sd-image: Increase default firmware partition sizeSarah Brofeldt2019-08-18
|
* Merge pull request #66588 from lschuermann/nixos-enter-silentMarek Mahut2019-08-15
|\ | | | | nixos-enter: add --silent to suppress activation script output
| * nixos-enter: silent activation script optionLeon Schuermann2019-08-13
| | | | | | | | Also, fix a few shellcheck errors.
* | installer: Don't run as rootworldofpeace2019-08-12
|/ | | | | | | | | | | | | | | | | | | There's many reason why it is and is going to continue to be difficult to do this: 1. All display-managers (excluding slim) default PAM rules disallow root auto login. 2. We can't use wayland 3. We have to use system-wide pulseaudio 4. It could break applications in the session. This happened to dolphin in plasma5 in the past. This is a growing technical debt, let's just use passwordless sudo.
* 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