This commit is contained in:
mergify[bot] 2024-05-26 08:53:47 +00:00
parent 5180427146
commit 5c2d9a2633
6 changed files with 26 additions and 26 deletions

View File

@ -1,2 +1,2 @@
cp -r /nix/store/52zrm42d6i0cr6zwkv315hp404pcsv7p-source/* .
cp -r /nix/store/i1fs74xsms97iyzi4zzw2j4050j1mvgx-source/* .
/nix/store/hdr7xmkdghydkllk2099cadh7i6z1rpq-mdbook-0.4.35/bin/mdbook build --dest-dir "$out"

View File

@ -3,10 +3,10 @@ declare -x HOME="/homeless-shelter"
declare -x HOST_PATH="/nix/store/zx8aqgdy735qzk81glfwil6mbi6ddqb1-coreutils-9.4/bin:/nix/store/sq0w0jchkjqbxl47h52kfwa33qp1adfh-findutils-4.9.0/bin:/nix/store/f3g84l92p0njh0gyk1z7cp2k4qnh91ha-diffutils-3.10/bin:/nix/store/7fqp73ncnbwr5bxxszqicf6r33d9yhkw-gnused-4.9/bin:/nix/store/by6918gg7srjyixqk8kbcdlz82d5pcwx-gnugrep-3.11/bin:/nix/store/1713hchhyzawkxfhk9srxklv03bqj55y-gawk-5.2.2/bin:/nix/store/1y7cqy8y76gsx037mhs3cvb33srj4c7g-gnutar-1.35/bin:/nix/store/21drzcpzpi485f9m6ihspg4kayly5425-gzip-1.13/bin:/nix/store/9gdg43h7zrn651lb1ihv2b2qf59im94b-bzip2-1.0.8-bin/bin:/nix/store/452v8bl3sjaq4kil1d9vqxc5vns4cvpp-gnumake-4.4.1/bin:/nix/store/q8qq40xg2grfh9ry1d9x4g7lq4ra7n81-bash-5.2-p21/bin:/nix/store/l6s9gwsallxxgz3qy7xk6410y842m6dn-patch-2.7.6/bin:/nix/store/pp7yamsghaprdxq94vr2iqx1hd5xn2qf-xz-5.4.5-bin/bin:/nix/store/hnz8p5w9xc0ivsiyrgky6f6h7sjb28a5-file-5.45/bin"
declare -x NIX_BUILD_CORES="4"
declare -x NIX_BUILD_TOP="/build"
declare -x NIX_CFLAGS_COMPILE=" -frandom-seed=2zjzbvr1c0"
declare -x NIX_CFLAGS_COMPILE=" -frandom-seed=kmmmv7xn8m"
declare -x NIX_ENFORCE_NO_NATIVE="1"
declare -x NIX_ENFORCE_PURITY="1"
declare -x NIX_LDFLAGS="-rpath /nix/store/2zjzbvr1c0qcnqiqv0wnwrrzvz1p0zg5-nixos-anywhere-docs/lib "
declare -x NIX_LDFLAGS="-rpath /nix/store/kmmmv7xn8mpwa5i14j77wxqr3zkqhrp5-nixos-anywhere-docs/lib "
declare -x NIX_LOG_FD="2"
declare -x NIX_SSL_CERT_FILE="/no-cert-file.crt"
declare -x NIX_STORE="/nix/store"
@ -46,7 +46,7 @@ declare -x enableParallelInstalling="1"
declare -x mesonFlags=""
declare -x name="nixos-anywhere-docs"
declare -x nativeBuildInputs=""
declare -x out="/nix/store/2zjzbvr1c0qcnqiqv0wnwrrzvz1p0zg5-nixos-anywhere-docs"
declare -x out="/nix/store/kmmmv7xn8mpwa5i14j77wxqr3zkqhrp5-nixos-anywhere-docs"
declare -x outputs="out"
declare -x passAsFile="buildCommand"
declare -x patches=""

View File

@ -182,25 +182,25 @@ in your NixOS configuration and define disko devices as described in the
<p>Before you can use <code>nixos-anywhere</code> without flakes, you'll need to manually
generate the paths for the NixOS system toplevel and disk image. The paths are
generated using <code>nix-build</code> and are necessary for executing <code>nixos-anywhere</code>.</p>
<h3 id="generating-disk-image-without-dependencies"><a class="header" href="#generating-disk-image-without-dependencies">Generating Disk Image without Dependencies:</a></h3>
<p>To generate the disk image without dependencies, execute:</p>
<pre><code class="language-bash">nix-build -I nixos-config=/etc/nixos/configuration.nix -E '(import &lt;nixpkgs/nixos&gt; {}).config.system.build.diskoNoDeps'
</code></pre>
<p>This will output a script path in <code>/nix/store</code> that will format your disk. Make
note of this path for later use.</p>
<h3 id="generating-nixos-system-toplevel"><a class="header" href="#generating-nixos-system-toplevel">Generating NixOS System Toplevel:</a></h3>
<p>Execute the following command to generate the store path for the NixOS system
toplevel:</p>
<pre><code class="language-bash">nix-build -I nixos-config=/etc/nixos/configuration.nix -E '(import &lt;nixpkgs/nixos&gt; {}).config.system.build.toplevel'
</code></pre>
<p>This will output a path in <code>/nix/store</code> that corresponds to the system toplevel,
which includes all the software and configurations for the system. Make note of
this path for later use.</p>
<h3 id="generating-disk-image-without-dependencies"><a class="header" href="#generating-disk-image-without-dependencies">Generating Disk Image without Dependencies:</a></h3>
<p>To generate the disk image without dependencies, execute:</p>
<pre><code class="language-bash">nix-build -I nixos-config=/etc/nixos/configuration.nix -E '(import &lt;nixpkgs/nixos&gt; {}).config.system.build.diskoNoDeps'
</code></pre>
<p>This will also output a script path in <code>/nix/store</code> that will format your disk.
Keep this path handy as well.</p>
which includes all the software and configurations for the system. Keep this
path handy as well.</p>
<h2 id="running-nixos-anywhere"><a class="header" href="#running-nixos-anywhere">Running NixOS-Anywhere</a></h2>
<p>With both paths in hand, you can execute <code>nixos-anywhere</code> as follows:</p>
<pre><code class="language-bash">nixos-anywhere --store-paths /nix/store/[your-toplevel-path] /nix/store/[your-disk-image-path]
<pre><code class="language-bash">nixos-anywhere --store-paths /nix/store/[your-disk-image-path] /nix/store/[your-toplevel-path]
</code></pre>
<p>Replace <code>[your-toplevel-path]</code> and <code>[your-disk-image-path]</code> with the
<p>Replace <code>[your-disk-image-path]</code> and <code>[your-toplevel-path]</code> with the
corresponding store paths you generated earlier.</p>
</main>

View File

@ -604,25 +604,25 @@ in your NixOS configuration and define disko devices as described in the
<p>Before you can use <code>nixos-anywhere</code> without flakes, you'll need to manually
generate the paths for the NixOS system toplevel and disk image. The paths are
generated using <code>nix-build</code> and are necessary for executing <code>nixos-anywhere</code>.</p>
<h3 id="generating-disk-image-without-dependencies"><a class="header" href="#generating-disk-image-without-dependencies">Generating Disk Image without Dependencies:</a></h3>
<p>To generate the disk image without dependencies, execute:</p>
<pre><code class="language-bash">nix-build -I nixos-config=/etc/nixos/configuration.nix -E '(import &lt;nixpkgs/nixos&gt; {}).config.system.build.diskoNoDeps'
</code></pre>
<p>This will output a script path in <code>/nix/store</code> that will format your disk. Make
note of this path for later use.</p>
<h3 id="generating-nixos-system-toplevel"><a class="header" href="#generating-nixos-system-toplevel">Generating NixOS System Toplevel:</a></h3>
<p>Execute the following command to generate the store path for the NixOS system
toplevel:</p>
<pre><code class="language-bash">nix-build -I nixos-config=/etc/nixos/configuration.nix -E '(import &lt;nixpkgs/nixos&gt; {}).config.system.build.toplevel'
</code></pre>
<p>This will output a path in <code>/nix/store</code> that corresponds to the system toplevel,
which includes all the software and configurations for the system. Make note of
this path for later use.</p>
<h3 id="generating-disk-image-without-dependencies"><a class="header" href="#generating-disk-image-without-dependencies">Generating Disk Image without Dependencies:</a></h3>
<p>To generate the disk image without dependencies, execute:</p>
<pre><code class="language-bash">nix-build -I nixos-config=/etc/nixos/configuration.nix -E '(import &lt;nixpkgs/nixos&gt; {}).config.system.build.diskoNoDeps'
</code></pre>
<p>This will also output a script path in <code>/nix/store</code> that will format your disk.
Keep this path handy as well.</p>
which includes all the software and configurations for the system. Keep this
path handy as well.</p>
<h2 id="running-nixos-anywhere"><a class="header" href="#running-nixos-anywhere">Running NixOS-Anywhere</a></h2>
<p>With both paths in hand, you can execute <code>nixos-anywhere</code> as follows:</p>
<pre><code class="language-bash">nixos-anywhere --store-paths /nix/store/[your-toplevel-path] /nix/store/[your-disk-image-path]
<pre><code class="language-bash">nixos-anywhere --store-paths /nix/store/[your-disk-image-path] /nix/store/[your-toplevel-path]
</code></pre>
<p>Replace <code>[your-toplevel-path]</code> and <code>[your-disk-image-path]</code> with the
<p>Replace <code>[your-disk-image-path]</code> and <code>[your-toplevel-path]</code> with the
corresponding store paths you generated earlier.</p>
<div style="break-before: page; page-break-before: always;"></div><h1 id="terraform"><a class="header" href="#terraform">Terraform</a></h1>
<p>The nixos-anywhere terraform modules allow you to use Terraform for installing

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long