summary refs log tree commit diff
path: root/nixos/doc/manual/man-nixos-rebuild.xml
Commit message (Collapse)AuthorAge
* nixos/nix-daemon: use structural settingspolykernel2022-01-26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The `nix.*` options, apart from options for setting up the daemon itself, currently provide a lot of setting mappings for the Nix daemon configuration. The scope of the mapping yields convience, but the line where an option is considered essential is blurry. For instance, the `extra-sandbox-paths` mapping is provided without its primary consumer, and the corresponding `sandbox-paths` option is also not mapped. The current system increases the maintenance burden as maintainers have to closely follow upstream changes. In this case, there are two state versions of Nix which have to be maintained collectively, with different options avaliable. This commit aims to following the standard outlined in RFC 42[1] to implement a structural setting pattern. The Nix configuration is encoded at its core as key-value pairs which maps nicely to attribute sets, making it feasible to express in the Nix language itself. Some existing options are kept such as `buildMachines` and `registry` which present a simplified interface to managing the respective settings. The interface is exposed as `nix.settings`. Legacy configurations are mapped to their corresponding options under `nix.settings` for backwards compatibility. Various options settings in other nixos modules and relevant tests have been updated to use structural setting for consistency. The generation and validation of the configration file has been modified to use `writeTextFile` instead of `runCommand` for clarity. Note that validation is now mandatory as strict checking of options has been pushed down to the derivation level due to freeformType consuming unmatched options. Furthermore, validation can not occur when cross-compiling due to current limitations. A new option `publicHostKey` was added to the `buildMachines` submodule corresponding to the base64 encoded public host key settings exposed in the builder syntax. The build machine generation was subsequently rewritten to use `concatStringsSep` for better performance by grouping concatenations. [1] - https://github.com/NixOS/rfcs/blob/master/rfcs/0042-config-option.md
* Update nixos-rebuild man page to reflect target-host changerembo102021-12-22
| | | | | See: https://github.com/NixOS/nixpkgs/pull/126614
* Merge pull request #126544 from jonringer/nixos-rebuild-use-substitutesTimothy DeHerrera2021-09-09
|\ | | | | nixos-rebuild: add --use-substitutes option
| * nixos-rebuild: add --use-substitutes optionJonathan Ringer2021-06-11
| |
* | nixos/doc: Fix synopsis for nixos-rebuild(8)Lara2021-07-07
|/
* nixos-rebuild: document override-inputJörg Thalheim2021-06-07
|
* nixos-rebuild --fast: Don't imply --show-traceEelco Dolstra2021-06-03
| | | | | | | There is no logical reason for --fast to imply --show-trace, and this seems to be a historical accident. Using --show-trace by default is bad UX since it can give very long error messages (e.g. 550 lines for a non-existent attribute in environment.systemPackages).
* doc/nixos-rebuild(8): add Nix --impure option to summaryWORLDofPEACE2020-09-28
|
* nixos-rebuild: support --upgrade-all and document --upgrade (#83327)Graham Christensen2020-09-25
|
* nixos-rebuild: do not depend on nix.conf to activate flakesJulien Moutinho2020-09-04
|
* qemu-vm.nix: Do not mount `/boot` read-only.Niklas Hambüchen2020-07-04
| | | | | There does not seem to be a good reason to do this, and it breaks running `nixos-rebuild boot --install-bootloader` inside the VM.
* nixos-{rebuild,container}: Use flakeref#attrpath syntaxEelco Dolstra2020-02-05
| | | | This makes them consistent with the 'nix' command line.
* nixos-rebuild: Use /etc/nixos/flake.nix if it existsEelco Dolstra2020-02-05
|
* nixos-rebuild: Add --flake optionEelco Dolstra2020-02-05
|
* nixos-rebuild: add explicit option to enable (remote) sudoBjørn Forsman2019-11-07
| | | | | | Add --use-remote-sudo option. When set, remote commands will be prefixed with 'sudo'. This allows using sudo remotely _without_ having to use sudo locally (when using --build-host/--taget-host).
* nixos/doc: fix manpage formatAlbert Safin2019-10-05
| | | | | | Spaces inside <refname> cause stray double underscore in generated manual pages. Fixes #70468
* Revert "nixos/doc: re-format"Eelco Dolstra2019-09-19
| | | | | This reverts commit ea6e8775bd69e4676c623a85c39f1da540d29ad1. The new format is not an improvement.
* nixos/doc: re-formatJan Tojnar2019-09-18
|
* man-nixos-rebuild.xml: Improve layoutEelco Dolstra2019-09-16
|
* Merge pull request #66561 from Ma27/document-user-services-on-rebuildWilliButz2019-08-13
|\ | | | | nixos/doc: document that services defined with `systemd.users` aren't restarted by nixos-rebuild
| * nixos/doc: document that services defined with `systemd.users` aren't ↵Maximilian Bosch2019-08-13
| | | | | | | | restarted by nixos-rebuild
* | Merge pull request #62914 from Ma27/improve-nixos-rebuild-manpageWilliButz2019-08-13
|\ \ | |/ |/| doc/nixos-rebuild(8): add Nix options to summary
| * doc/nixos-rebuild(8): add Nix options to summaryMaximilian Bosch2019-06-10
| | | | | | | | | | | | It seems as the sentence at the bottom of the option summary about Nix-specific options isn't enough, it's probably more helpful to list those options in the synopsis as well.
* | doc: Use prompt more oftenJan Tojnar2019-06-17
|/
* nixos docs: run the formatting tool (no content change)Vladimír Čunát2019-03-22
| | | | As documented in the docs themselves :-)
* nixos/manual: fix buildPiotr Bogdan2019-03-02
|
* nixos-rebuild: add changelog/docs for edit subcommandDaiderd Jordan2019-02-25
|
* nixos manual: fix a typo that made it invalid XMLVladimír Čunát2019-01-13
| | | | The problem was merge to master in the bfbadab4 commit.
* Update nixos/doc/manual/man-nixos-rebuild.xmlFrederik Rietdijk2019-01-12
| | | Co-Authored-By: Mic92 <Mic92@users.noreply.github.com>
* Update nixos/doc/manual/man-nixos-rebuild.xmlFrederik Rietdijk2019-01-12
| | | Co-Authored-By: Mic92 <Mic92@users.noreply.github.com>
* nixos-rebuild: allow to override buildersJörg Thalheim2019-01-11
| | | | | | | Since nix 2.0 the no-build-hook option was replaced by the builders options that allows to override remote builders ad-hoc. Since it is useful to disable remote builders updating nixos without network, this commit reintroduces the option.
* nixos/doc+man: Fixes squishedtogether definitions.Samuel Dionne-Riel2018-05-31
|
* nixos/doc: ran `make format`Samuel Dionne-Riel2018-05-31
| | | | With visual inspection that nothing got worse.
* nixos docs: format =)Graham Christensen2018-05-01
|
* doc: correct typo (#21176)Théo Zimmermann2016-12-15
|
* Deprecate --install-grub in favor of --install-bootloader for nixos-rebuild.Shea Levy2016-08-16
| | | | Fixes #14293
* nixos-rebuild: Document --build-host and --target-host optionsRickard Nilsson2016-01-01
|
* nixos-rebuild: Add ‘dry-activate’ commandEelco Dolstra2015-03-09
| | | | | | | | | | ‘nixos-rebuild dry-activate’ builds the new configuration and then prints what systemd services would be stopped, restarted etc. if the configuration were actually activated. This could be extended later to show other activation actions (like uids being deleted). To prevent confusion, ‘nixos-rebuild dry-run’ has been renamed to ‘nixos-rebuild dry-build’.
* nixos manual: replace /etc/nixos/nixos which no longer exists with more ↵Evgeny Egorochkin2013-10-27
| | | | | | generic and more correct /path/to/nixpkgs/nixos
* nixos-rebuild: Document --profile-nameEelco Dolstra2013-10-13
|
* Move all of NixOS to nixos/ in preparation of the repository mergeEelco Dolstra2013-10-10