From e1e412215df70c45063f5c1bc6afcff7d3c1c0ce Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Thalheim?= Date: Wed, 12 Aug 2020 06:52:05 +0100 Subject: nixos-rebuild: document all nix flags --- nixos/doc/manual/man-nixos-rebuild.xml | 30 ++++++++++++++++++++++++++++-- 1 file changed, 28 insertions(+), 2 deletions(-) (limited to 'nixos/doc') diff --git a/nixos/doc/manual/man-nixos-rebuild.xml b/nixos/doc/manual/man-nixos-rebuild.xml index d0ff81c1dbb3..2ab5f006b06b 100644 --- a/nixos/doc/manual/man-nixos-rebuild.xml +++ b/nixos/doc/manual/man-nixos-rebuild.xml @@ -112,6 +112,15 @@ path + + + + + + + + + @@ -130,6 +139,18 @@ number + + + + + + + + + + + + @@ -567,9 +588,14 @@ In addition, nixos-rebuild accepts various Nix-related - flags, including / , + flags: , / , , , - , , and / + , , and / + , , + , , + / , + / , + / and / . See the Nix manual for details. -- cgit v1.2.3 From b8a19ca2bcff1de182bc7d161afe54de8985b31f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Thalheim?= Date: Wed, 12 Aug 2020 06:52:32 +0100 Subject: nixos-rebuild: add --impure flag There are two use case for this flag: 1. NixOS developer usually use a nixpkgs checkout for development. Copying nixpkgs everytime when rebuilding NixOS is way to slow, even with NVME disks. 2. Folks migrating from impure configuration in a sufficient complex infrastructure need this flag to gradually migrate to NixOS flakes. --- nixos/doc/manual/man-nixos-rebuild.xml | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'nixos/doc') diff --git a/nixos/doc/manual/man-nixos-rebuild.xml b/nixos/doc/manual/man-nixos-rebuild.xml index 2ab5f006b06b..4510fdd44225 100644 --- a/nixos/doc/manual/man-nixos-rebuild.xml +++ b/nixos/doc/manual/man-nixos-rebuild.xml @@ -121,6 +121,9 @@ + + + @@ -597,6 +600,10 @@ / , / and / . See the Nix manual for details. + + The following Nix flags that are support by the upcoming nix 2.4 version: + , , , + , . See nix --help or nix build --help for details. -- cgit v1.2.3