aboutsummaryrefslogtreecommitdiff
path: root/default.nix (unfollow)
Commit message (Collapse)AuthorFilesLines
2020-09-11docs: add -L to remaining curl install commandslf-1-1/+1
2020-06-20nixos-hardware: prepare for merge by moving to nixos/hardwareProfpatsch1-3/+0
It is going to be merged into nixpkgs, under `nixos/hardware`. This will give better discoverability, and considering the low turnover (less than 100 commits in the last year and only 350 total) it won’t make any dent on the size of nixpkgs. We have a monorepo, let’s use it.
2019-01-18add dummy default.nixJörg Thalheim1-0/+3
2019-01-04fix nix-env evaluationJörg Thalheim1-52/+0
nix-env picked up `default.nix`, which contained our hardware profiles. This is not only cpu-intensive to evaluate but also fails because it does some import-from-derivation. By moving default.nix to release.nix it should be no longer loaded
2018-10-23dell/xps/13-9370: initAndré-Patrick Bubel1-0/+1
2018-10-19lenovo/thinkpad/t450s: initLorenzo Manacorda1-0/+1
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-09-02default: Add Lenovo x260Roman Volosatovs1-0/+1
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-08-24Add toshiba-swanky to CIYegor Timoshenko1-0/+2
2018-08-15apple/macbookpro/11-5: Add to testsRehno Lindeque1-0/+1
2018-07-17Fix testsYegor Timoshenko1-1/+46
2018-06-25Update message to reflect nix 2.0 availability of imperative nix-update (#36123)leenaars1-1/+4
2018-03-17default.nix, fix for nix-env -qaFedor Logachev1-0/+1
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