aboutsummaryrefslogtreecommitdiff
path: root/default.nix (unfollow)
Commit message (Collapse)AuthorFilesLines
2018-10-08Fix local path to release notes in error messageThomas Tuegel1-1/+1
The error message when produced when Nix is too old refers the user to a local copy of the NixOS release notes, but the provided path is incorrect.
2018-08-30Reference a local copy of the release notes in the 'version too old' ↵Graham Christensen1-1/+4
warning, plus a redirect to the support links
2018-08-30Reference release notes in the 'version too old' warningGraham Christensen1-0/+3
2018-06-25Update message to reflect nix 2.0 availability of imperative nix-update (#36123)leenaars1-1/+4
2017-03-18default.nix: Provide correct instructions how to upgrade NixTuomas Tynkkynen1-1/+11
Supersedes #17631.
2016-07-14Separate fix-point from config importing hacks and other impuritiesJohn Ericson1-1/+1
2016-03-20Extract the top-level logic out of all-packages.nix into ↵Nicolas B. Pierron1-1/+1
pkgs/top-level/default.nix
2015-11-26Expose minimum required Nix version.Rommel M. Martinez1-1/+1
2015-10-15Bump minimum required Nix versionEelco Dolstra1-2/+4
Issue #10337.
2015-01-21if we abort with too old Nix, hint docsDomen Kožar1-1/+1
2015-01-13Revert "Revert "mkOverridable: Use functors to allow overridable functions""Shea Levy1-2/+2
Original commit was reverted due to using features from a newer nix than hydra had, hydra has since been updated This reverts commit 07e726c85c8f36d3a27fb7254f09ac69c7b94c65.
2015-01-13Revert "mkOverridable: Use functors to allow overridable functions"Rob Vermaas1-2/+2
This reverts commit 4ee556cfe9528a321f4a3746ca83f97feacf500e.
2015-01-09mkOverridable: Use functors to allow overridable functionsShea Levy1-2/+2
2014-09-04require Nix 1.7 for nixpkgs, since we're using antiquotation inside quoted ↵Domen Kožar1-2/+2
attribute sets
2014-03-17Explicitly require Nix 1.6Eelco Dolstra1-1/+7
People using Nix < 1.6 previously got an unhelpful "infinite recursion" error.
2013-10-10Move all of NixOS to nixos/ in preparation of the repository mergeEelco Dolstra1-44/+0
2013-09-03Remove reference to non-existant config.testsEelco Dolstra1-2/+0
2013-01-28Parameterise the path to nixpkgs.Rickard Nilsson1-3/+4
This makes it possible to build several NixOS systems that use different nixpkgs in the same nix-build invocation. Today, you can't do that since the <nixpkgs> path reference is hard-coded in lib/eval-config.nix.
2012-12-08Use the binary cache in the installerEelco Dolstra1-1/+0
Also remove "nixos-rebuild pull".
2012-07-21Revert "allow out-of-tree nixos modules"Mathijs Kwik1-6/+3
This reverts commit b609ff4fcf48b2124d94bf1052c303a36c8cabf1. It turns out this can just be done using "require".
2012-07-21allow out-of-tree nixos modulesMathijs Kwik1-3/+6
The environment variable "NIXOS_EXTRA_MODULES" is now checked to contain a path to a file similar to modules/module-list.nix. This gives the ability to include nixos modules that are not in the nixos source tree. This can be useful for modules that are still experimental, or which aren't useful for other nixos users. Of course, this was already possible to do this using a forked nixos tree, but with this functionality, you can just rely on the nixos channel, easing things a lot.
2012-03-02* Remove the use of the NIXPKGS and NIXOS environment variables.Eelco Dolstra1-1/+1
Instead use $NIX_PATH. NIXOS_CONFIG is still supported. svn path=/nixos/trunk/; revision=32739
2011-09-14strip trailing whitespace; no functional changePeter Simons1-2/+2
svn path=/nixos/trunk/; revision=29285
2010-09-13* Added a command `nixos-rebuild build-vm-with-bootloader'. This isEelco Dolstra1-1/+14
like `build-vm', but boots using the regular boot loader (i.e. GRUB 1 or 2) rather than booting directly from the kernel/initrd. Thus it allows testing of GRUB. svn path=/nixos/trunk/; revision=23747
2009-11-06* Support a `system' argument for if you want to do hacky things likeEelco Dolstra1-1/+6
change a NixOS installation from x86_64-linux to i686-linux (or vice versa if you have distributed builds enabled - I used this upgrade from 32-bit to 64-bit NixOS). svn path=/nixos/trunk/; revision=18177
2009-09-04* system.build.system -> system.build.toplevel, since the former nameEelco Dolstra1-1/+1
is just too weird. svn path=/nixos/trunk/; revision=16954
2009-08-27* lib/eval-config.nix: combined "configuration" and "extraModules"Eelco Dolstra1-3/+2
into one argument "modules". * release.nix: fixed the manual job. * ISO generation: break an infinite recursion. Don't know why this suddenly happens. Probably because of the nixpkgs.config change, but I don't see why. Maybe the option evaluation is too strict. svn path=/nixos/trunk/; revision=16878
2009-08-19inherit eval to access option declarations from outside programs.Nicolas Pierron1-4/+4
svn path=/nixos/trunk/; revision=16770
2009-08-11* New nixos-rebuild action: "nixos-rebuild build-vm" builds a virtualEelco Dolstra1-0/+7
machine containing a replica (minus the state) of the system configuration. This is mostly useful for testing configuration changes prior to doing an actual "nixos-rebuild switch" (or even "nixos-rebuild test"). The VM can be started as follows: $ nixos-rebuild build-vm $ ./result/bin/run-*-vm which starts a KVM/QEMU instance. Additional QEMU options can be passed through the QEMU_OPTS environment variable (e.g. QEMU_OPTS="-redir tcp:8080::80" to forward a host port to the guest). The fileSystem attribute of the regular system configuration is ignored (using mkOverride), because obviously we can't allow the VM to access the host's block devices. Instead, at startup the VM creates an empty disk image in ./<hostname>.qcow2 to store the VM's root filesystem. Building a VM in this way is efficient because the VM shares its Nix store with the host (through a CIFS mount). However, because the Nix store of the host is mounted read-only in the guest, you cannot run Nix build actions inside the VM. Therefore the VM can only be reconfigured by re-running "nixos-rebuild build-vm" on the host and restarting the VM. svn path=/nixos/trunk/; revision=16662
2009-06-15* Don't try to run fsck on ISO-9660/UDF filesystems.Eelco Dolstra1-0/+2
svn path=/nixos/branches/modular-nixos/; revision=15963
2009-06-05* Removed redundant import (Nicolas Pierron).Eelco Dolstra1-1/+1
svn path=/nixos/branches/modular-nixos/; revision=15876
2009-06-05* Make eval-config.nix a bit more general to make it easier to buildEelco Dolstra1-17/+6
other kinds of configurations (like the installation CD). svn path=/nixos/branches/modular-nixos/; revision=15864
2009-05-27* Refactoring: moved some options out of system/options.nix (almostEelco Dolstra1-4/+2
empty now), do more of bashrc.sh declaratively, and moved nsswitch generation to modules/config/nsswitch.nix. svn path=/nixos/branches/modular-nixos/; revision=15754
2009-05-27* Move the config evaluation into a separate expression so that it canEelco Dolstra1-20/+5
be reused, e.g. for building the CD/DVD. svn path=/nixos/branches/modular-nixos/; revision=15744
2009-05-27* Move the list of modules into a separate file. This file could beEelco Dolstra1-2/+0
generated by some find/grep hackery as Nicolas suggested. svn path=/nixos/branches/modular-nixos/; revision=15743
2009-05-27svn path=/nixos/branches/modular-nixos/; revision=15742Eelco Dolstra1-1/+5
2009-05-27* Turn the top-level derivation of a NixOS configuration ("system")Eelco Dolstra1-17/+29
into a NixOS module (modules/system/activation/top-level.nix - couldn't think of a better name). The top-level derivation is returned in config.system.build.system. * Inlined system.sh in top-level.nix so that we don't have to pass everything through environment variables. svn path=/nixos/branches/modular-nixos/; revision=15740
2009-05-27* Make modules/system/boot/stage-1.nix a proper module that exportsEelco Dolstra1-15/+0
the initial ramdisk as config.system.build.bootStage1. svn path=/nixos/branches/modular-nixos/; revision=15739
2009-05-25* Move the definition of the set of system packages toEelco Dolstra1-2/+3
modules/config/system-path.nix. system/system.nix is now almost empty. * Removed the cleanStart option - it should be possible to get the same functionality by overriding config.system.path (or defining config.system.systemPackages with a higher priority - don't know if that works though). svn path=/nixos/branches/modular-nixos/; revision=15727
2009-05-20svn path=/nixos/branches/modular-nixos/; revision=15670Eelco Dolstra1-1/+3
2009-03-27Complete nixpkgsPath->nixpkgs renameMichael Raskin1-2/+2
svn path=/nixos/trunk/; revision=14732
2009-01-02Merge branches 'fix-style' and 'master' into fix-styleNicolas Pierron1-1/+1
svn path=/nixos/branches/fix-style/; revision=13688
2008-12-15* When doing chroot builds, the `build-chroot-dirs' option shouldEelco Dolstra1-1/+1
include the closure of /bin/sh. Otherwise all builders that call /bin/sh will fail when using the new chroot implementation, which only bind-mounts the inputs of a build rather than the whole Nix store. svn path=/nixos/trunk/; revision=13640
2008-11-18- Move some system configuration to options:Nicolas Pierron1-9/+1
* system.nssModules * system.modulesTree * system.sbin.modprobe * system.sbin.mount * nix.envVars - Remove Arguments that can be accessed either by "config" or "pkgs". - Use the new scheme for upstart-jobs/default.nix. This is now a configuration file which is imported by system/options.nix. - Jobs can now include upstart-job/default.nix: * upstrat-jobs/cron.nix * upstart-jobs/dhclient.nix => No Nixos file refers to upstart-jobs/default.nix except if one of its options is require to define an extra job. (e.g.: cron, dhclient) svn path=/nixos/branches/fix-style/; revision=13327
2008-10-06nixos-rebuild: take NIXPKGS location from env, tooMarc Weber1-4/+6
svn path=/nixos/trunk/; revision=12981
2008-08-11* Fixed references to values moved to boot-stage-1.nix.Eelco Dolstra1-4/+8
svn path=/nixos/trunk/; revision=12582
2008-03-03Added nixos-gen-seccure-keys to nixosToolsMichael Raskin1-0/+1
svn path=/nixos/trunk/; revision=10937
2008-02-14* Put the static files for the Subversion service in a separate directory.Eelco Dolstra1-0/+1
svn path=/nixos/trunk/; revision=10697
2008-02-08* Installation CD: include a lot of modules (SATA, PATA, Firewire,Eelco Dolstra1-3/+7
USB, some SCSI controllers) in the initrd for mounting the CD. * Add nix-hardware-scan to the system. * Upstart: don't use the -v flag. * Include the NixOS version in the ISO image filename. * Include testdisk and ms-sys in the CD. * Some bugfixes in the installer. svn path=/nixos/trunk/; revision=10556
2008-01-12* Option to enable the Intel 3945 firmware. (It's enabled byEelco Dolstra1-2/+1
default since it doesn't seem to have the legal issues of the Intel 2200 firmware.) * Firmware loader: don't write in /tmp. Also a hack to quickly test new firmwares. * Revert r10105 since the build fails if configuration.nix is a symlink. Anyway copying configuration.nix does not necessarily make sense since it can import other expressions, which would also have to be copied. Perhaps a better approach would be to write a serialisation of the config to a file (maybe with builtins.toXML). svn path=/nixos/trunk/; revision=10127