Skip to content

Commit 5bf6eac

Browse files
committed
deploy: 653f13c
1 parent 81246bf commit 5bf6eac

8 files changed

+18
-18
lines changed
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
cp -r /nix/store/b1wvpicg6zkxvdk1irppr5jccrvp4s2h-source/* .
1+
cp -r /nix/store/3nwfmdbbdy30s1568h3p3swdkvi5lxki-source/* .
22
/nix/store/kf6w5gcp13nl0k6q7ymp0p5mycmxpk1i-mdbook-0.4.40/bin/mdbook build --dest-dir "$out"

env-vars

+3-3
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@ declare -x HOME="/homeless-shelter"
33
declare -x HOST_PATH="/nix/store/0kg70swgpg45ipcz3pr2siidq9fn6d77-coreutils-9.5/bin:/nix/store/fnq94lw19pnwdl9p8zhfrad4jmlgxlbr-findutils-4.10.0/bin:/nix/store/7jk4jrd99ngnm9iczcf63mfxqba0ak2y-diffutils-3.10/bin:/nix/store/gjlh1zvckhz0qv795lnzgw2zciklbzj2-gnused-4.9/bin:/nix/store/vsyc8jhsr4d9lm2r8yqq9n3j4i66inlj-gnugrep-3.11/bin:/nix/store/9hifsxkcrkvvb712ghnr3gy5g1aiym2d-gawk-5.2.2/bin:/nix/store/l2l5xr2zczq19gqpqz4j8vxxia1j41s1-gnutar-1.35/bin:/nix/store/164s7a7yscnicprzrr78bvk45d77a3yg-gzip-1.13/bin:/nix/store/f8p74dj4r4my8sw5prmm3y4ddkz7591j-bzip2-1.0.8-bin/bin:/nix/store/axrdky652lsmif6m5i8b55q91v4ly4gy-gnumake-4.4.1/bin:/nix/store/izpf49b74i15pcr9708s3xdwyqs4jxwl-bash-5.2p32/bin:/nix/store/7wg4bz2sika3wd7541rndbnwcq6k9h8v-patch-2.7.6/bin:/nix/store/02mf752h7f5fn7989awzca4ygy94k7w7-xz-5.6.2-bin/bin:/nix/store/fv56zpi80jpakbfmv16r60xvyqwzff6r-file-5.45/bin"
44
declare -x NIX_BUILD_CORES="4"
55
declare -x NIX_BUILD_TOP="/build"
6-
declare -x NIX_CFLAGS_COMPILE=" -frandom-seed=45mh2wsacb"
6+
declare -x NIX_CFLAGS_COMPILE=" -frandom-seed=637b3bjxac"
77
declare -x NIX_ENFORCE_NO_NATIVE="1"
88
declare -x NIX_ENFORCE_PURITY="1"
9-
declare -x NIX_LDFLAGS="-rpath /nix/store/45mh2wsacb2plhij4zkdjvg21iybriki-nixos-anywhere-docs/lib "
9+
declare -x NIX_LDFLAGS="-rpath /nix/store/637b3bjxacr949174vwkvvgp6mgw22f2-nixos-anywhere-docs/lib "
1010
declare -x NIX_LOG_FD="2"
1111
declare -x NIX_SSL_CERT_FILE="/no-cert-file.crt"
1212
declare -x NIX_STORE="/nix/store"
@@ -46,7 +46,7 @@ declare -x enableParallelInstalling="1"
4646
declare -x mesonFlags=""
4747
declare -x name="nixos-anywhere-docs"
4848
declare -x nativeBuildInputs=""
49-
declare -x out="/nix/store/45mh2wsacb2plhij4zkdjvg21iybriki-nixos-anywhere-docs"
49+
declare -x out="/nix/store/637b3bjxacr949174vwkvvgp6mgw22f2-nixos-anywhere-docs"
5050
declare -x outputs="out"
5151
declare -x passAsFile="buildCommand"
5252
declare -x patches=""

howtos/no-os.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -222,7 +222,7 @@ <h1 id="installing-on-a-machine-with-no-operating-system"><a class="header" href
222222
<pre><code>ssh -v nixos@fec0::5054:ff:fe12:3456
223223
</code></pre>
224224
<p>You can then use the IP address to run <code>nixos-anywhere</code> like this:</p>
225-
<pre><code>nix run github:nix-community/nixos-anywhere -- --flake '.#myconfig' nixos@fec0::5054:ff:fe12:3456
225+
<pre><code>nix run github:nix-community/nixos-anywhere -- --flake '.#myconfig' --target-host nixos@fec0::5054:ff:fe12:3456
226226
</code></pre>
227227
<p>This example assumes a flake in the current directory containing a configuration
228228
named <code>myconfig</code>.</p>

howtos/secrets.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,7 @@ <h2 id="example-decrypting-an-openssh-host-key-with-pass"><a class="header" href
205205
chmod 600 "$temp/etc/ssh/ssh_host_ed25519_key"
206206

207207
# Install NixOS to the host system with our secrets
208-
nixos-anywhere --extra-files "$temp" --flake '.#your-host' root@yourip
208+
nixos-anywhere --extra-files "$temp" --flake '.#your-host' --target-host root@yourip
209209
</code></pre>
210210
<h2 id="example-uploading-disk-encryption-secrets"><a class="header" href="#example-uploading-disk-encryption-secrets">Example: Uploading Disk Encryption Secrets</a></h2>
211211
<p>In a similar vein, <code>nixos-anywhere</code> can upload disk encryption secrets, which

print.html

+6-6
Original file line numberDiff line numberDiff line change
@@ -399,19 +399,19 @@ <h3 id="9-run-it"><a class="header" href="#9-run-it">9. Run it</a></h3>
399399
<p><code>&lt;ip address&gt;</code> is the IP address of the target machine.</p>
400400
</li>
401401
</ul>
402-
<pre><code>nix run github:nix-community/nixos-anywhere -- --flake &lt;path to configuration&gt;#&lt;configuration name&gt; root@&lt;ip address&gt;
402+
<pre><code>nix run github:nix-community/nixos-anywhere -- --flake &lt;path to configuration&gt;#&lt;configuration name&gt; --target-host root@&lt;ip address&gt;
403403
</code></pre>
404404
<p>The command would look  like this if you had created your files in a directory
405405
named <code>/home/mydir/test</code> and the IP address of your target machine is
406406
<code>37.27.18.135</code>:</p>
407-
<pre><code>nix run github:nix-community/nixos-anywhere -- --flake /home/mydir/test#hetzner-cloud [email protected]
407+
<pre><code>nix run github:nix-community/nixos-anywhere -- --flake /home/mydir/test#hetzner-cloud --target-host [email protected]
408408
</code></pre>
409409
<p>If you also need to generate hardware configuration amend flags for
410410
nixos-generate-config:</p>
411-
<pre><code>nix run github:nix-community/nixos-anywhere -- --generate-hardware-config nixos-generate-config ./hardware-configuration.nix --flake &lt;path to configuration&gt;#&lt;configuration name&gt; root@&lt;ip address&gt;
411+
<pre><code>nix run github:nix-community/nixos-anywhere -- --generate-hardware-config nixos-generate-config ./hardware-configuration.nix --flake &lt;path to configuration&gt;#&lt;configuration name&gt; --target-host root@&lt;ip address&gt;
412412
</code></pre>
413413
<p>Or these flags if you are using nixos-facter instead:</p>
414-
<pre><code>nix run github:nix-community/nixos-anywhere -- --generate-hardware-config nixos-facter ./facter.json --flake &lt;path to configuration&gt;#&lt;configuration name&gt; root@&lt;ip address&gt;
414+
<pre><code>nix run github:nix-community/nixos-anywhere -- --generate-hardware-config nixos-facter ./facter.json --flake &lt;path to configuration&gt;#&lt;configuration name&gt; --target-host root@&lt;ip address&gt;
415415
</code></pre>
416416
<p>Adjust the location of <code>./hardware-configuration.nix</code> and <code>./facter.json</code>
417417
accordingly.</p>
@@ -536,7 +536,7 @@ <h2 id="contents"><a class="header" href="#contents">Contents</a></h2>
536536
<pre><code>ssh -v nixos@fec0::5054:ff:fe12:3456
537537
</code></pre>
538538
<p>You can then use the IP address to run <code>nixos-anywhere</code> like this:</p>
539-
<pre><code>nix run github:nix-community/nixos-anywhere -- --flake '.#myconfig' nixos@fec0::5054:ff:fe12:3456
539+
<pre><code>nix run github:nix-community/nixos-anywhere -- --flake '.#myconfig' --target-host nixos@fec0::5054:ff:fe12:3456
540540
</code></pre>
541541
<p>This example assumes a flake in the current directory containing a configuration
542542
named <code>myconfig</code>.</p>
@@ -607,7 +607,7 @@ <h2 id="example-decrypting-an-openssh-host-key-with-pass"><a class="header" href
607607
chmod 600 "$temp/etc/ssh/ssh_host_ed25519_key"
608608

609609
# Install NixOS to the host system with our secrets
610-
nixos-anywhere --extra-files "$temp" --flake '.#your-host' root@yourip
610+
nixos-anywhere --extra-files "$temp" --flake '.#your-host' --target-host root@yourip
611611
</code></pre>
612612
<h2 id="example-uploading-disk-encryption-secrets"><a class="header" href="#example-uploading-disk-encryption-secrets">Example: Uploading Disk Encryption Secrets</a></h2>
613613
<p>In a similar vein, <code>nixos-anywhere</code> can upload disk encryption secrets, which

quickstart.html

+4-4
Original file line numberDiff line numberDiff line change
@@ -344,19 +344,19 @@ <h3 id="9-run-it"><a class="header" href="#9-run-it">9. Run it</a></h3>
344344
<p><code>&lt;ip address&gt;</code> is the IP address of the target machine.</p>
345345
</li>
346346
</ul>
347-
<pre><code>nix run github:nix-community/nixos-anywhere -- --flake &lt;path to configuration&gt;#&lt;configuration name&gt; root@&lt;ip address&gt;
347+
<pre><code>nix run github:nix-community/nixos-anywhere -- --flake &lt;path to configuration&gt;#&lt;configuration name&gt; --target-host root@&lt;ip address&gt;
348348
</code></pre>
349349
<p>The command would look  like this if you had created your files in a directory
350350
named <code>/home/mydir/test</code> and the IP address of your target machine is
351351
<code>37.27.18.135</code>:</p>
352-
<pre><code>nix run github:nix-community/nixos-anywhere -- --flake /home/mydir/test#hetzner-cloud [email protected]
352+
<pre><code>nix run github:nix-community/nixos-anywhere -- --flake /home/mydir/test#hetzner-cloud --target-host [email protected]
353353
</code></pre>
354354
<p>If you also need to generate hardware configuration amend flags for
355355
nixos-generate-config:</p>
356-
<pre><code>nix run github:nix-community/nixos-anywhere -- --generate-hardware-config nixos-generate-config ./hardware-configuration.nix --flake &lt;path to configuration&gt;#&lt;configuration name&gt; root@&lt;ip address&gt;
356+
<pre><code>nix run github:nix-community/nixos-anywhere -- --generate-hardware-config nixos-generate-config ./hardware-configuration.nix --flake &lt;path to configuration&gt;#&lt;configuration name&gt; --target-host root@&lt;ip address&gt;
357357
</code></pre>
358358
<p>Or these flags if you are using nixos-facter instead:</p>
359-
<pre><code>nix run github:nix-community/nixos-anywhere -- --generate-hardware-config nixos-facter ./facter.json --flake &lt;path to configuration&gt;#&lt;configuration name&gt; root@&lt;ip address&gt;
359+
<pre><code>nix run github:nix-community/nixos-anywhere -- --generate-hardware-config nixos-facter ./facter.json --flake &lt;path to configuration&gt;#&lt;configuration name&gt; --target-host root@&lt;ip address&gt;
360360
</code></pre>
361361
<p>Adjust the location of <code>./hardware-configuration.nix</code> and <code>./facter.json</code>
362362
accordingly.</p>

searchindex.js

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

searchindex.json

+1-1
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)