npingler-switch(1)
๐ npingler-switch โ NAME
okay so bestie, welcome to npingler-switch, a page from the General Commands Manual that's about to become your new obsession โจ
npingler-switch โ build the current profile and switch to it (alias: install) ๐
โจ SYNOPSIS โจ
npingler switch [--hostname] [--profile] [--diff-derivations]
[--pin-registry-root] [--root-registry-path] [--pin-channels-root]
[--root-profile] [--extra-nix-args] [--extra-nix-build-args]
[--extra-nix-eval-args] [--extra-nix-env-set-args] [--config] [--file]
[--log-filter] [--debug] [-v|--verbose] [--dry] [-h|--help]
๐ธ DESCRIPTION ๐ธ
Build the current profile and switch to it (alias: install) ๐
that's literally it, that's the whole vibe. build it, switch to it, slay ๐
๐ซถ OPTIONS ๐ซถ
--hostname<HOSTNAME>โ the hostname you're building the configuration for ๐
this one corresponds to the `npingler.${hostname}` output attribute in your flake. also, you can set it with the HOSTNAME environment variable too, iykyk.
--config<CONFIG>โ path to the configuration file you wanna use ๐
defaults to `~/.config/npingler/config.toml` โจ
--file<FILE>โ path or directory that's holding your npingler Nix expressions ๐
defaults to the --config directory.
-h,--helpโ print help (see a summary with-h) ๐
๐ฆ NIX PROFILE OPTIONS ๐ฆ
--profile<PROFILE>โ the profile to use for`nix profile`operations ๐ซ
may also be specified with the NIX_PROFILE environment variable.
--diff-derivations<DIFF_DERIVATIONS>โ a command, likenix-diffornvd, to use to diff derivations ๐
this will be executed to display a diff of the changes being made to your profile before building it. no cap, it shows you what's about to change.
this may contain shell-quoted arguments ๐
๐ง NIX REGISTRY OPTIONS ๐ง
--pin-registry-root<PIN_REGISTRY_ROOT>โ pin Nix Flake registry entries for therootuser ๐
[possible values: true, false]
--root-registry-path<ROOT_REGISTRY_PATH>โ the Nix Flake registry path for therootuser, defaults to`/etc/nix/registry.json`๐๏ธ
may also be specified with the ROOT_NIX_REGISTRY environment variable.
๐ NIX CHANNEL OPTIONS ๐
--pin-channels-root<PIN_CHANNELS_ROOT>โ pin Nix channels for therootuser ๐
[possible values: true, false]
--root-profile<ROOT_PROFILE>โ the root user's Nix profile path ๐
defaults to `/nix/var/nix/profiles/per-user/root/channels`
may also be specified with the ROOT_NIX_PROFILE environment variable.
๐ฅ NIX COMMAND ARG OPTIONS ๐ฅ
--extra-nix-args<EXTRA_NIX_ARGS>โ extra args fornixinvocations ๐งฐ
this is for all nix binary ("nix3") invocations, but does not apply to (e.g.) nix-env. read that again bestie, it's giving "specific".
--extra-nix-build-args<EXTRA_NIX_BUILD_ARGS>โ extra args fornix buildinvocations ๐๏ธ
note this is NOT for nix-build, which we do not invoke. periodt.
--extra-nix-eval-args<EXTRA_NIX_EVAL_ARGS>โ extra args fornix evalinvocations ๐งฎ--extra-nix-env-set-args<EXTRA_NIX_ENV_SET_ARGS>โ extra args fornix-env --setinvocations ๐๏ธ
๐ LOGGING OPTIONS ๐
--log-filter<LOG_FILTER>โ tracing log filter ๐ชต
see this, it's the whole lore:
https://docs.rs/tracing-subscriber/latest/tracing_subscriber/filter/struct.EnvFilter.html#directives
may also be specified with the NPINGLER_LOG environment variable.
--debugโ alias for`--log-filter=trace`๐-v,--verboseโ alias for`--log-filter=debug`๐ฃ๏ธ--dryโ don't actually change the configuration ๐ง
fr fr, this one means it's a dry run โ nothing gets touched, bestie. zero chaos.
and that's the whole page, no crumbs left ๐
this was switch (the source/version bit) from the npingler-switch(1) manual, and the date on this beauty is right there in the footer โ mwah, go build something iconic ๐โจ๐ฆ
๐ฆ where this page comes from
- nixpkgs unstable: npingler 0.6.0
- ๐ girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms