aboutsummaryrefslogtreecommitdiff
path: root/default.nix (unfollow)
Commit message (Collapse)AuthorFilesLines
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.
2020-06-11home-manager: add documentation to root `default.nix`Damien Cassou1-0/+6
This adds documentation related packages to default.nix to allow building documentation separately from building a Home Manager configuration.
2020-05-26Add path attribute to root `default.nix`Matthew Bauer1-0/+2
This makes it possible to refer to the path of Home Manager when you just have a Nix expression, not the actual source. Some things run import on a source and just give access to the result of the import, not the source. PR #1259
2020-02-02Apply `nixfmt` on many filesRobert Helgesson1-7/+4
2019-11-16<>: Adding root derivation to evaluateKatharina Fey1-0/+6
2019-04-06home-manager: use `callPackage` where appropriatearcnmx1-4/+3
2019-02-23tests: remove tests attribute from root default.nixRobert Helgesson1-4/+0
Having it there prevented, e.g., `nix-env -qaP` from working in some cases. Fixes #509
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-12-11tests: add initial test frameworkRobert Helgesson1-0/+4
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
2018-02-07allow Home Manager to be used as a NixOS moduleRobert Helgesson1-0/+2
This is a NixOS module that is intended to be imported into a NixOS system configuration. It allows the system users to be set up directly from the system configuration. The actual profile switch is performed by a oneshot systemd unit per configured user that acts much like the regular `home-manager switch` command. With this implementation, the NixOS module does not work properly with the `nixos-rebuild build-vm` command. This can be solved by using the `users.users.<name?>.packages` option to install packages but this does not work flawlessly with certain Nixpkgs packages. In particular, for programs using the Qt libraries.
2017-11-29home-manager: use `shellHook` to installRobert Helgesson1-5/+3
This changes the installation command from nix-shell $HM_PATH -A install --run 'home-manager switch' to nix-shell $HM_PATH -A install The added shell hook will print some useful information and run `home-manager switch`.
2017-11-20home-manager: avoid unnecessary copyRobert Helgesson1-1/+1
2017-10-24home-manager: point <home-manager> to project rootRobert Helgesson1-2/+14
Before this path would point to the modules path. Using the project root instead makes it possible to set `<home-manager>` to point to a downloadable archive of Home Manager. This should make it significantly easier to install and keep Home Manager up to date. To match this change we also deprecate the Home Manager option programs.home-manager.modulesPath and instead ask users to use programs.home-manager.path
2017-03-18default.nix: Provide correct instructions how to upgrade NixTuomas Tynkkynen1-1/+11
Supersedes #17631.
2017-01-14Initial importRobert Helgesson1-0/+2
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