about summary refs log tree commit diff
path: root/nixos/modules/installer
Commit message (Collapse)AuthorAge
...
* | (clang-format for has_example)Chuck2019-11-04
| |
* | Add maintainerChuck2019-11-04
| |
* | Only print example when there is oneChuck2019-11-04
| |
* | snake_case -> camelCaseChuck2019-11-04
| |
* | Don't print header on stderrChuck2019-11-04
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Automated consumers can use 'sed 1d' or similar to remove this header. This probably makes this output *easier* to consume correctly. Having this header show up in consumers' terminal or log output is probably not useful, but hiding it without hiding all error messages would have been more troublesome that just stripping it from stdout. I.e., previously, unsophisticated use would show undesired output: $ some-other-tool This attribute set contains: This attribute set contains: This attribute set contains: This attribute set contains: <Actual some-other-tool output> The simplest way to hide this undesired output would have been nixos-option ... 2>/dev/null, which would hide all error messages. We do not wish to encourage that. Correct use would have been something like: nixos-option ... 2> >( grep --line-buffered -v 'This attribute set contains:') After this change, correct use is simpler: nixos-option ... | sed 1d or nixos-option ... | sed '1/This attribute set contains:/d' if the caller don't know if this invocation of nixos-option will yield an attribute listing or an option description.
* | Explain why header goes on stderrChuck2019-11-04
| |
* | Pass values by referenceChuck2019-11-04
| | | | | | | | | | | | | | Switch from convention "appease clang-tidy --checks='*'" to "References are like non-nullptr pointers". The clang-tidy check "google-runtime-references" complains about non-const reference arguments, but this is not a convention used in Nix.
* | Pass Context by referenceChuck2019-11-04
| | | | | | | | | | | | | | Switch from convention "appease clang-tidy --checks='*'" to "References are like non-nullptr pointers". The clang-tidy check "google-runtime-references" complains about non-const reference arguments, but this is not a convention used in Nix.
* | Hold state and autoArgs by referenceChuck2019-11-04
| | | | | | | | | | | | | | Switch from convention "appease clang-tidy --checks='*'" to "References are like non-nullptr pointers". The clang-tidy check "google-runtime-references" complains about non-const reference arguments, but this is not a convention used in Nix.
* | Use std::get_ifChuck2019-11-04
| |
* | Per reviewer request, cast the other side.Chuck2019-11-04
| | | | | | | | | | | | | | | | | | | | I don't think this matters. As long as one or the other of these is a std::string, I get an operator== that looks at content rather than pointer equality. I picked casting the constant over casting the dynamic thing in hopes that the compiler would have a better chance at optimizing away any runtime cost. Deferring to reviewer.
* | Always say which path component had troubleChuck2019-11-04
| |
* | Switch from east const to west constChuck2019-11-04
| | | | | | | | | | | | For consistency with the Nix C++ convention. :~(
* | Support submodules (Fixes #13121)Chuck2019-11-04
| |
* | clang-formatChuck2019-11-04
| |
* | Fix missing "using ThrownError"Chuck2019-11-04
| |
* | Narrow the «not defined» check to just ThrownErrorChuck2019-11-04
| |
* | Preserve type of rethrown exceptionsChuck2019-11-04
| |
* | Correct syntax for license specificationChuck2019-11-04
| |
* | Add licenseChuck2019-11-04
| | | | | | | | | | | | | | This is important because this contains some code copied from nix (as an interim expediency until that functionality can be exported via nix's API). The license specified here must be compatible with this borrowing. Select the same license that nix is released under: lgpl2Plus.
* | Parallel build is the default, so no need to specifyChuck2019-11-04
| |
* | Remove list sortingChuck2019-11-04
| |
* | Use format strings, not concatenation, in error messagesChuck2019-11-04
| |
* | Reformat for 4-space indentationChuck2019-11-04
| | | | | | | | | | | | | | Specifically, with clang-format --style='{ IndentWidth: 4, BreakBeforeBraces: Mozilla, ColumnLimit: 120, PointerAlignment: Middle }' which was the clang-format invocation that produced the fewest diffs on the nix source out of ~20 that I tried.
* | nixos/nixos-option: Fix references to old nameChuck2019-11-04
| |
* | nixos/nixos-option: Show options' types #27920Chuck2019-11-04
| |
* | nixos/nixos-option: Rewrite in a more suitable languageChuck2019-11-04
| | | | | | | | | | | | Also add --all, which shows the value of all options. Diffing the --all output on either side of contemplated changes is a lovely way to better understand what's going on inside nixos.
* | nixos-generate-config: Fix incorrectly named optionDaniel Fullmer2019-11-02
| | | | | | | | This appears to be a typo from c2576266baaf02be2d4da39cf25ed48044b6245e
* | Merge master into staging-nextFrederik Rietdijk2019-10-23
|\ \
| * | nixos-rebuild: support sudo + --target-hostBjørn Forsman2019-10-22
| |/ | | | | | | | | | | | | | | | | | | | | This adds support for deploying to remote hosts without being root: sudo nixos-rebuild --target-host non-root@host Without this change, only root@host is able to deploy. The idea is that if the local command is run with sudo, so should the remote one, thus there is no need for adding any CLI options.
| * Revert "Merge pull request #71095 from flokli/pinentry-cleanup"worldofpeace2019-10-16
| | | | | | | | | | This reverts commit 823da4d492b8b4ad46bf812db8421d99ff17a8fc, reversing changes made to b75c8ee3bc1b9734c29740e9d17ac2175fe207fd.
| * nixos/gnupg: add option for setting pinentry flavoursFranz Pletz2019-10-16
| | | | | | | | Co-authored-by: Florian Klink <flokli@flokli.de>
* | nixos/gnupg: add option for setting pinentry flavoursFranz Pletz2019-10-16
|/ | | | Co-authored-by: Florian Klink <flokli@flokli.de>
* Merge pull request #70734 from jtojnar/nixos-rebuild-remote-fishJan Tojnar2019-10-11
|\ | | | | nixos-rebuild: Fix target-host using fish
| * nixos-rebuild: Fix target-host using fishJan Tojnar2019-10-08
| | | | | | | | | | | | | | | | I have `users.defaultUserShell = pkgs.fish;` set on my server and when I ran `nixos-rebuild switch --target-host …`, the command failed with the following error: fish: Unsupported use of '='. To run 'nix-store' with a modified environment, please use 'env PATH=… nix-store…' That is because fish requires env to set environment variables for a program. It should also work on other shells.
* | nix: 2.3 -> 2.3.1Eelco Dolstra2019-10-10
| |
* | Revert "Merge #67232: machinectl compliant NixOS installation"Vladimír Čunát2019-10-07
| | | | | | | | | | | | This reverts commit 66967ec7521d065f605795d64ddbbbd4fcd448c3, reversing changes made to fb6595eafdb90ef0bc7a31c2bfc9204e4cad11d9. Fixes #70442; discussion: https://github.com/NixOS/nixpkgs/pull/70027
* | Merge pull request #69302 from mayflower/networkd-disallow-dhcpLinus Heckemann2019-10-07
|\ \ | | | | | | networkd: disallow useDHCP
| * | nixos-generate-config: add useDHCP per interfaceRobin Gloster2019-09-24
| |/ | | | | | | | | | | This sets networking.useDHCP to false and for all interfaces found the per-interface useDHCP to true. This replicates the current default behaviour and prepares for the switch to networkd.
* | Merge pull request #46997 from worldofpeace/installer-autorunworldofpeace2019-10-05
|\ \ | | | | | | installer: autorun xserver in graphical media
| * | nixos/iso-image: add menu entry to disable display-managerworldofpeace2019-10-02
| | |
| * | installer: autorun xserver in graphical mediaworldofpeace2019-10-02
| | |
* | | iso-image: add loopback.cfg support to boot iso from grublassulus2019-10-04
|/ /
* | sdImage: add option to enable bzip2 compressionAmineChikhaoui2019-09-30
| | | | | | | | | | also make SD image compression the default setup. Fixes issues with output size such as: https://hydra.nixos.org/build/102163603
* | Merge pull request #67305 from adisbladis/iso-image-defaultsworldofpeace2019-09-28
|\ \ | | | | | | Change ISO image defaults
| * | iso-image-kde: link new nixos-manual desktop item to desktopworldofpeace2019-09-07
| | |
| * | iso-image: Enable nouveau by defaultadisbladis2019-09-07
| | | | | | | | | | | | This is a much more sensible default for modern hardware.
* | | Merge pull request #68265 from tkerber/rpi4Samuel Dionne-Riel2019-09-27
|\ \ \ | | | | | | | | Various: Add support for raspberry pi 4.
| * | | Various: Add support for raspberry pi 4.Thomas Kerber2019-09-17
| |/ /
* | | Merge pull request #67232 from ck3d/container-useHostResolvConfFranz Pletz2019-09-25
|\ \ \ | |_|/ |/| | machinectl compliant NixOS installation