summary refs log tree commit diff
path: root/nixos/modules/installer
Commit message (Collapse)AuthorAge
* nixos-rebuild: Handle $SHELL not being bashEelco Dolstra2014-04-18
|
* nixos-rebuild: Fallback for upgrading NixEelco Dolstra2014-04-15
| | | | | | | Previously, if the currently installed Nix is too old to evaluate Nixpkgs, then nixos-rebuild would fail and the user had to upgrade Nix manually. Now, as a fallback, we run ‘nix-store -r’ to obtain a binary Nix directly from the binary cache.
* nixos-rebuild: Exec nixos-rebuild from the new Nixpkgs treeEelco Dolstra2014-04-15
| | | | | | | This allows doing any necessary actions that were not in the installed nixos-rebuild (such as downloading a new version of Nix). This does require us to be careful that nixos-rebuild is backwards-compatible (i.e. can run in any old installation).
* Rewrite ‘with pkgs.lib’ -> ‘with lib’Eelco Dolstra2014-04-14
| | | | | | | | Using pkgs.lib on the spine of module evaluation is problematic because the pkgs argument depends on the result of module evaluation. To prevent an infinite recursion, pkgs and some of the modules are evaluated twice, which is inefficient. Using ‘with lib’ prevents this problem.
* Include Archive::Cpio in the installation CDEelco Dolstra2014-04-11
| | | | http://hydra.nixos.org/build/10268978
* Merge branch 'containers'Eelco Dolstra2014-04-10
|\ | | | | | | Fixes #2105.
| * Add a test for NixOS containersEelco Dolstra2014-04-03
| |
* | nixos-generate-config: Fix PCI/USB checksEelco Dolstra2014-04-08
| | | | | | | | | | As reported by Kirill Elagin, read_file doesn't chomp its output. So the equality tests on PCI/USB vendor and device IDs were failing.
* | nixos-hardware-scan: Detect QEMUEelco Dolstra2014-03-30
|/
* typo: occured -> occurredEllis Whitehead2014-03-07
|
* nixos-generate-config: Don't generate filesystem optionsRicardo M. Correia2014-02-19
| | | | | | We don't want to hardcode configuration options that the current kernel chose for us when mounting the filesystem, since the defaults can change in the future.
* nixos-generate-config: Don't generate /var/lib/nfs/rpc_pipefs filesystemRicardo M. Correia2014-02-19
| | | | It's automatically mounted if the system has support for NFS.
* Removed obsolete option services.xserver.videoDriverPascal Wittmann2014-02-18
|
* Renamed obsolete option services.xserver.videoDrivers to ↵Pascal Wittmann2014-02-18
| | | | hardware.opengl.videoDrivers
* nixos/memtest: Allow user to specify memtest86 boot parametersRicardo M. Correia2014-02-09
|
* Limit livecd label to 11 charactersShea Levy2014-02-03
| | | | | | vfat partition labels can only be 11 characters long Signed-off-by: Shea Levy <shea@shealevy.com>
* nixos-generate-config: Fix reference to <nixos>.aszlig2014-01-29
| | | | | | | | | IIUC, <nixos> is going to be deprecated someday in the future, and as most of those references are already replaced I guess it's safe to replace it here as well, as it is only relevant on new/updated installations. Signed-off-by: aszlig <aszlig@redmoonstudios.org>
* support -Q in nixos-rebuildAristid Breitkreuz2014-01-25
|
* Put /efi and /loader on the main livecd partition for efi booting with ↵Shea Levy2013-11-14
| | | | | | | | unetbootin Fixes #248, mostly Signed-off-by: Shea Levy <shea@shealevy.com>
* Add some primops to libEelco Dolstra2013-11-12
|
* Use default kernel for EFI-related stuffEelco Dolstra2013-11-07
|
* Fold efi booting into the default livecdShea Levy2013-11-01
| | | | Signed-off-by: Shea Levy <shea@shealevy.com>
* Manual: Expand the Development chapterEelco Dolstra2013-10-31
|
* Remove unused fileEelco Dolstra2013-10-31
|
* Comment out nixos-guiEelco Dolstra2013-10-30
| | | | It hasn't built in over 2 years.
* Fix mkOverride callEelco Dolstra2013-10-29
|
* Fix nixos-optionEelco Dolstra2013-10-28
| | | | | In particular, it no longer produces an "infinite recursion" error when run with no arguments.
* Remove remaining uses of mkOverrideTemplateEelco Dolstra2013-10-28
|
* nixos-rebuild: Ignore failure from get-version-suffixEelco Dolstra2013-10-28
|
* Rename environment.nix -> nix.packageEelco Dolstra2013-10-28
|
* nixos-generate-config: Don't suggest setting fileSystems in configuration.nixEelco Dolstra2013-10-24
| | | | | | | | It's already set in hardware-configuration.nix so this just confuses people. Also get rid of boot.initrd.kernelModules, since hardware-configuration.nix is supposed to figure that out as well.
* nixos-rebuild: Drop references to <nixos>.aszlig2013-10-23
| | | | | | | | Commit 31203732b3104125e107a3141578399cab5d478f dropped the reference to <nixos> from NIX_PATH (nixos/modules/programs/environment.nix) and thus prevents systems that are not using channels from rebuilding. Signed-off-by: aszlig <aszlig@redmoonstudios.org>
* nixos-generate-config: Add --show-hardware-config.aszlig2013-10-23
| | | | | | | | | | | | So, we get the old behaviour of nixos-hardware-scane if we run the following command: nixos-generate-config --no-filesystems --show-hardware-config This allows to use scripts in order to fetch NixOS specific hardware information, without the need to duplicate code elsewhere. Signed-off-by: aszlig <aszlig@redmoonstudios.org>
* nixos-generate-config: Remove unnecessary spaces.aszlig2013-10-23
| | | | | | | | The attributes swapDevices and imports add a space character after the eqals sign, which is unnecessary. I know, I'm a pedantic douche bag but it hurts my eyes. Signed-off-by: aszlig <aszlig@redmoonstudios.org>
* nixos-generate-config: Add --no-filesystems flag.aszlig2013-10-23
| | | | | | | This is to get back the old behavior of nixos-hardware-scan, which didn't include fileSystems and swapDevices. Signed-off-by: aszlig <aszlig@redmoonstudios.org>
* Get rid of <nixpkgs>Eelco Dolstra2013-10-15
|
* nixos-generate-config: Add --root optionEelco Dolstra2013-10-13
| | | | | | | | | | | | | | If this option is given, nixos-generate-config will write the configuration to /etc/nixos under the given root, and only emit fileSystems attributes for filesystems under the given root directory. The typically use case is at installation time, where you can say: $ nixos-generate-config --root /mnt which will create /mnt/etc/nixos/{configuration.nix,hardware-configuration.nix}. Also add a --force flag to force overwriting configuration.nix.
* nixos-generate-config: Emit boot.initrd.availableKernelModules instead of ↵Eelco Dolstra2013-10-13
| | | | kerneLmodules
* nixos-generate-config: Skip FUSE filesystemsEelco Dolstra2013-10-13
| | | | I don't know how to recover that a FUSE filesystem is (say) ntfs-3g.
* nixos-generate-config: Emit fileSystems automaticallyEelco Dolstra2013-10-13
|
* nixos-generate-config: Generate swapDevicesEelco Dolstra2013-10-13
|
* Use read_file from File::SlurpEelco Dolstra2013-10-13
|
* Merge "nixos-option --install" into nixos-generate-configEelco Dolstra2013-10-13
| | | | | | | | | Having configuration.nix generation hidden underneath nixos-option never made sense, also given that there was another command to generate part of the configuration (nixos-hardware-scan). Now nixos-generate-config produces both configuration.nix and hardware-configuration.nix. The latter is overwritten while the former is not.
* nixos-generate-config: Write to /etc/nixos/hardware.nix rather than stdoutEelco Dolstra2013-10-13
|
* Rename nixos-hardware-scan to nixos-generate-configEelco Dolstra2013-10-13
|
* Remove unused fileEelco Dolstra2013-10-13
|
* Refactor variable namesEelco Dolstra2013-10-13
|
* Map --help flag to "man <command>" for more NixOS commandsEelco Dolstra2013-10-13
|
* nixos-rebuild: Let --help invoke "man nixos-rebuild"Eelco Dolstra2013-10-13
|
* Set .version-suffix properly when building from GitEelco Dolstra2013-10-13
|