nix3-show-config(1)
π nix3-show-config(1) π
General Commands Manual Β· nix3-show-config Β· the girlies are reading the manpage fr fr π
β οΈ Warning β this program is experimental and its interface is subject to change. Translation: it's giving beta energy, don't build your whole personality on it staying the same bestie π
β¨ Name β¨
nix show-config β show the Nix configuration, or the value of one specific setting π
πΈ Synopsis πΈ
nix show-config [optionβ¦] name
π¦ Options π¦
--jsonβ spit the output out in JSON format, so another program can eat it. it's giving machine-readable, no cap π€β¨
π Logging-related options π
--debugβ crank the logging verbosity level all the way todebug. she's nosy and we love that π--log-formatformat β set what the log output looks like; pick one ofraw,internal-json,barorbar-with-logs. choose your fighter β¨--print-build-logs/-Lβ print the full build logs on standard error. all of it. the whole thing π--quietβ decrease the logging verbosity level. shhh, we're being lowkey π€«--verbose/-vβ increase the logging verbosity level. louder!! tell me everything π£οΈ
π Miscellaneous global options π
--helpβ show usage information. the classic "help me" button π--offlineβ disable substituters and treat every previously downloaded file as up-to-date. we're off the grid, no wifi, main character βοΈ--optionname value β set the Nix configuration setting name to value, overridingnix.conf. sneaky little override, iykyk π--refreshβ treat all previously downloaded files as out-of-date. everything is old now, deal with it π--versionβ show version information. which era are we in π°οΈ
π Options to override configuration settings π
this section is a whole buffet bestie. every single one, no skips π
--accept-flake-configβ Enable theaccept-flake-configsetting.--access-tokensvalue β Set theaccess-tokenssetting.--allow-dirtyβ Enable theallow-dirtysetting.--allow-import-from-derivationβ Enable theallow-import-from-derivationsetting.--allow-new-privilegesβ Enable theallow-new-privilegessetting.--allow-symlinked-storeβ Enable theallow-symlinked-storesetting.--allow-unsafe-native-code-during-evaluationβ Enable theallow-unsafe-native-code-during-evaluationsetting.--allowed-impure-host-depsvalue β Set theallowed-impure-host-depssetting.--allowed-urisvalue β Set theallowed-urissetting.--allowed-usersvalue β Set theallowed-userssetting.--auto-allocate-uidsβ Enable theauto-allocate-uidssetting.--auto-optimise-storeβ Enable theauto-optimise-storesetting.--bash-promptvalue β Set thebash-promptsetting.--bash-prompt-prefixvalue β Set thebash-prompt-prefixsetting.--bash-prompt-suffixvalue β Set thebash-prompt-suffixsetting.--build-hookvalue β Set thebuild-hooksetting.--build-poll-intervalvalue β Set thebuild-poll-intervalsetting.--build-users-groupvalue β Set thebuild-users-groupsetting.--buildersvalue β Set thebuilderssetting.--builders-use-substitutesβ Enable thebuilders-use-substitutessetting.--commit-lockfile-summaryvalue β Set thecommit-lockfile-summarysetting.--compress-build-logβ Enable thecompress-build-logsetting.--connect-timeoutvalue β Set theconnect-timeoutsetting.--coresvalue β Set thecoressetting.--diff-hookvalue β Set thediff-hooksetting.--download-attemptsvalue β Set thedownload-attemptssetting.--download-speedvalue β Set thedownload-speedsetting.--eval-cacheβ Enable theeval-cachesetting.--experimental-featuresvalue β Set theexperimental-featuressetting.--extra-access-tokensvalue β Append to theaccess-tokenssetting.--extra-allowed-impure-host-depsvalue β Append to theallowed-impure-host-depssetting.--extra-allowed-urisvalue β Append to theallowed-urissetting.--extra-allowed-usersvalue β Append to theallowed-userssetting.--extra-build-hookvalue β Append to thebuild-hooksetting.--extra-experimental-featuresvalue β Append to theexperimental-featuressetting.--extra-extra-platformsvalue β Append to theextra-platformssetting.--extra-hashed-mirrorsvalue β Append to thehashed-mirrorssetting.--extra-ignored-aclsvalue β Append to theignored-aclssetting.--extra-nix-pathvalue β Append to thenix-pathsetting.--extra-platformsvalue β Set theextra-platformssetting.--extra-plugin-filesvalue β Append to theplugin-filessetting.--extra-sandbox-pathsvalue β Append to thesandbox-pathssetting.--extra-secret-key-filesvalue β Append to thesecret-key-filessetting.--extra-substitutersvalue β Append to thesubstituterssetting.--extra-system-featuresvalue β Append to thesystem-featuressetting.--extra-trusted-public-keysvalue β Append to thetrusted-public-keyssetting.--extra-trusted-substitutersvalue β Append to thetrusted-substituterssetting.--extra-trusted-usersvalue β Append to thetrusted-userssetting.--fallbackβ Enable thefallbacksetting.--filter-syscallsβ Enable thefilter-syscallssetting.--flake-registryvalue β Set theflake-registrysetting.--fsync-metadataβ Enable thefsync-metadatasetting.--gc-reserved-spacevalue β Set thegc-reserved-spacesetting.--hashed-mirrorsvalue β Set thehashed-mirrorssetting.--http-connectionsvalue β Set thehttp-connectionssetting.--http2β Enable thehttp2setting.--id-countvalue β Set theid-countsetting.--ignore-tryβ Enable theignore-trysetting.--ignored-aclsvalue β Set theignored-aclssetting.--impersonate-linux-26β Enable theimpersonate-linux-26setting.--keep-build-logβ Enable thekeep-build-logsetting.--keep-derivationsβ Enable thekeep-derivationssetting.--keep-env-derivationsβ Enable thekeep-env-derivationssetting.--keep-failedβ Enable thekeep-failedsetting.--keep-goingβ Enable thekeep-goingsetting.--keep-outputsβ Enable thekeep-outputssetting.--log-linesvalue β Set thelog-linessetting.--max-build-log-sizevalue β Set themax-build-log-sizesetting.--max-freevalue β Set themax-freesetting.--max-jobsvalue β Set themax-jobssetting.--max-silent-timevalue β Set themax-silent-timesetting.--max-substitution-jobsvalue β Set themax-substitution-jobssetting.--min-freevalue β Set themin-freesetting.--min-free-check-intervalvalue β Set themin-free-check-intervalsetting.--nar-buffer-sizevalue β Set thenar-buffer-sizesetting.--narinfo-cache-negative-ttlvalue β Set thenarinfo-cache-negative-ttlsetting.--narinfo-cache-positive-ttlvalue β Set thenarinfo-cache-positive-ttlsetting.--netrc-filevalue β Set thenetrc-filesetting.--nix-pathvalue β Set thenix-pathsetting.--no-accept-flake-configβ Disable theaccept-flake-configsetting.--no-allow-dirtyβ Disable theallow-dirtysetting.--no-allow-import-from-derivationβ Disable theallow-import-from-derivationsetting.--no-allow-new-privilegesβ Disable theallow-new-privilegessetting.--no-allow-symlinked-storeβ Disable theallow-symlinked-storesetting.--no-allow-unsafe-native-code-during-evaluationβ Disable theallow-unsafe-native-code-during-evaluationsetting.--no-auto-allocate-uidsβ Disable theauto-allocate-uidssetting.--no-auto-optimise-storeβ Disable theauto-optimise-storesetting.--no-builders-use-substitutesβ Disable thebuilders-use-substitutessetting.--no-compress-build-logβ Disable thecompress-build-logsetting.--no-eval-cacheβ Disable theeval-cachesetting.--no-fallbackβ Disable thefallbacksetting.--no-filter-syscallsβ Disable thefilter-syscallssetting.--no-fsync-metadataβ Disable thefsync-metadatasetting.--no-http2β Disable thehttp2setting.--no-ignore-tryβ Disable theignore-trysetting.--no-impersonate-linux-26β Disable theimpersonate-linux-26setting.--no-keep-build-logβ Disable thekeep-build-logsetting.--no-keep-derivationsβ Disable thekeep-derivationssetting.--no-keep-env-derivationsβ Disable thekeep-env-derivationssetting.--no-keep-failedβ Disable thekeep-failedsetting.--no-keep-goingβ Disable thekeep-goingsetting.--no-keep-outputsβ Disable thekeep-outputssetting.--no-preallocate-contentsβ Disable thepreallocate-contentssetting.--no-print-missingβ Disable theprint-missingsetting.--no-pure-evalβ Disable thepure-evalsetting.--no-require-drop-supplementary-groupsβ Disable therequire-drop-supplementary-groupssetting.--no-require-sigsβ Disable therequire-sigssetting.--no-restrict-evalβ Disable therestrict-evalsetting.--no-run-diff-hookβ Disable therun-diff-hooksetting.--no-sandboxβ Disable sandboxing.--no-sandbox-fallbackβ Disable thesandbox-fallbacksetting.--no-show-traceβ Disable theshow-tracesetting.--no-substituteβ Disable thesubstitutesetting.--no-sync-before-registeringβ Disable thesync-before-registeringsetting.--no-trace-function-callsβ Disable thetrace-function-callssetting.--no-trace-verboseβ Disable thetrace-verbosesetting.--no-use-case-hackβ Disable theuse-case-hacksetting.--no-use-cgroupsβ Disable theuse-cgroupssetting.--no-use-registriesβ Disable theuse-registriessetting.--no-use-sqlite-walβ Disable theuse-sqlite-walsetting.--no-use-xdg-base-directoriesβ Disable theuse-xdg-base-directoriessetting.--no-warn-dirtyβ Disable thewarn-dirtysetting.--plugin-filesvalue β Set theplugin-filessetting.--post-build-hookvalue β Set thepost-build-hooksetting.--pre-build-hookvalue β Set thepre-build-hooksetting.--preallocate-contents--preallocate-contentsβ turns on thepreallocate-contentssetting, bestie. β¨--print-missingβ flips theprint-missingsetting to on. π--pure-evalβ activates thepure-evalsetting. π§--relaxed-sandboxβ enables sandboxing, but lowkey lets builds disable it. π--require-drop-supplementary-groupsβ turns on therequire-drop-supplementary-groupssetting. π₯--require-sigsβ enables therequire-sigssetting. π--restrict-evalβ turns on therestrict-evalsetting. π--run-diff-hookβ enables therun-diff-hooksetting. π--sandboxβ enables sandboxing, periodt. π¦--sandbox-build-dirvalue β sets thesandbox-build-dirsetting. πΈ--sandbox-dev-shm-sizevalue β sets thesandbox-dev-shm-sizesetting. π--sandbox-fallbackβ enables thesandbox-fallbacksetting. β--sandbox-pathsvalue β sets thesandbox-pathssetting. π--secret-key-filesvalue β sets thesecret-key-filessetting. π--show-traceβ enables theshow-tracesetting. π--ssl-cert-filevalue β sets thessl-cert-filesetting. π--stalled-download-timeoutvalue β sets thestalled-download-timeoutsetting. β³--start-idvalue β sets thestart-idsetting. π--storevalue β sets thestoresetting. πͺ--substituteβ enables thesubstitutesetting. π--substitutersvalue β sets thesubstituterssetting. π§--sync-before-registeringβ turns on thesync-before-registeringsetting. π--systemvalue β sets thesystemsetting. π»--system-featuresvalue β sets thesystem-featuressetting. β¨--tarball-ttlvalue β sets thetarball-ttlsetting. π¦--timeoutvalue β sets thetimeoutsetting. β°--trace-function-callsβ enables thetrace-function-callssetting. π--trace-verboseβ enables thetrace-verbosesetting. π£οΈ--trusted-public-keysvalue β sets thetrusted-public-keyssetting. π--trusted-substitutersvalue β sets thetrusted-substituterssetting. π€--trusted-usersvalue β sets thetrusted-userssetting. π₯--use-case-hackβ enables theuse-case-hacksetting. π§©--use-cgroupsβ enables theuse-cgroupssetting. π§¬--use-registriesβ enables theuse-registriessetting. π--use-sqlite-walβ enables theuse-sqlite-walsetting. ποΈ--use-xdg-base-directoriesβ enables theuse-xdg-base-directoriessetting. π--user-agent-suffixvalue β sets theuser-agent-suffixsetting. π΅οΈ--warn-dirtyβ enables thewarn-dirtysetting. π§Ό
and that's the whole list, bestie! this page is from the Nix manual β the footer has the version and date if you ever need to cite it. stay iconic. πβ¨
π¦ where this page comes from
- ubuntu noble: nix-bin 2.18.1+dfsg-1ubuntu5 Β· LGPL-2.1-only
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms