Ihar Hancharenka 3a4a664fca m
2024-03-03 09:09:15 +03:00

57 строки
2.3 KiB
Plaintext

# If you need an offline install, or you'd prefer to run the binary directly, head to
# https://github.com/DeterminateSystems/nix-installer/releases then pick the version and platform
# most appropriate for your deployment target.
info: downloading installer https://install.determinate.systems/nix/tag/v0.17.0/nix-installer-x86_64-linux
/nix/nix-installer
help Print this message or the help of the given subcommand(s)
install Install Nix using a plannerCommands:
plans:
linux A planner for traditional, mutable Linux systems like Debian, RHEL, or Arch
--init <INIT>
Which init system to configure (if `--init none` Nix will be root-only)
[env: NIX_INSTALLER_INIT=]
[default: systemd]
[possible values: none, systemd]
--no-start-daemon
Start the daemon (if not `--init none`)
[env: NIX_INSTALLER_START_DAEMON=]
steam-deck A planner for the Valve Steam Deck running SteamOS
ostree A planner suitable for immutable systems using ostree, such as Fedora Silverblue
help Print this message or the help of the given subcommand(s)
--no-confirm
[env: NIX_INSTALLER_NO_CONFIRM=]
--no-modify-profile
Modify the user profile to automatically load nix
[env: NIX_INSTALLER_MODIFY_PROFILE=]
--extra-conf [<EXTRA_CONF>...]
Extra configuration lines for `/etc/nix.conf`
[env: NIX_INSTALLER_EXTRA_CONF=]
--explain
[env: NIX_INSTALLER_EXPLAIN=]
repair Update the shell profiles to make Nix usable after system upgrades
uninstall Uninstall a previously `nix-installer` installed Nix
self-test Run a self test of Nix to ensure that an install is working
plan Emit a JSON install plan that can be manually edited before execution
options
-v, --verbose...
Enable debug logs, -vv for trace
[env: NIX_INSTALLER_VERBOSITY=]
--logger <LOGGER>
Which logger to use
[env: NIX_INSTALLER_LOGGER=]
[default: compact]
[possible values: compact, full, pretty, json]
--log-directive [<LOG_DIRECTIVES>...]
Tracing directives
See https://docs.rs/tracing-subscriber/latest/tracing_subscriber/filter/struct.EnvFilter.html#directives
[env: NIX_INSTALLER_LOG_DIRECTIVES=]
sudo -i nix upgrade-nix