+5
-5
pkgs/by-name/ni/nixos-rebuild-ng/nixos-rebuild.8.scd
+5
-5
pkgs/by-name/ni/nixos-rebuild-ng/nixos-rebuild.8.scd
···
190
190
trusted user in the Nix daemon. This can be achieved by using the
191
191
_nix.settings.trusted-users_ NixOS option. Examples values for that
192
192
option are described in the “Remote builds” chapter in the Nix manual,
193
-
(i.e. ‘--builders "ssh://bigbrother x86_64-linux"‘). By specifying an
193
+
(i.e. ‘--builders "ssh://bigbrother x86_64-linux"’). By specifying an
194
194
empty string existing builders specified in /etc/nix/machines can be
195
-
ignored: ‘--builders ""‘ for example when they are not reachable due to
195
+
ignored: ‘--builders ""’ for example when they are not reachable due to
196
196
network connectivity.
197
197
198
198
*--profile-name* _name_, *-p* _name_
···
200
200
track of the current and previous system configurations, use
201
201
_/nix/var/nix/profiles/system-profiles/name_. When you use GRUB 2, for
202
202
every system profile created with this flag, NixOS will create a submenu
203
-
named “NixOS - Profile _name_“ in GRUB's boot menu, containing the
203
+
named “NixOS - Profile _name_” in GRUB's boot menu, containing the
204
204
current and previous configurations of this profile.
205
205
206
206
For instance, if you want to test a configuration file named _test.nix_
···
209
209
$ nixos-rebuild switch -p test -I nixos-config=./test.nix
210
210
211
211
The new configuration will appear in the GRUB 2 submenu “NixOS - Profile
212
-
‘test’“.
212
+
‘test’”.
213
213
214
214
*--specialisation* _name_, *-c* _name_
215
215
Activates given specialisation; when not specified, switching and testing
···
306
306
307
307
*--verbose,* *-v*, *--quiet*, *--log-format*, *--no-build-output*, *-Q*,
308
308
*--max-jobs*, *-j*, *--cores*, *--keep-going*, *-k*, *--keep-failed*, *-K*,
309
-
*--fallback*, *--incllude*, *-I*, *--option*, *--repair*, *--builders*,
309
+
*--fallback*, *--include*, *-I*, *--option*, *--repair*, *--builders*,
310
310
*--print-build-logs*, *-L*, *--show-trace*
311
311
312
312
See the Nix manual, *nix flake lock --help* or *nix-build --help* for details.