This commit is contained in:
Mic92 2023-08-27 12:39:52 +00:00
parent b54976c361
commit 36a329fcca
7 changed files with 45 additions and 15 deletions

View File

@ -1,2 +1,2 @@
cp -r /nix/store/z8pfy30mjwbyz6p463nqj7x55br136lp-source/* .
cp -r /nix/store/77hisn5864q8k61mdf48306ir1kr3m9j-source/* .
/nix/store/yraybmrngngjgs1ly1hh37g24h83wybl-mdbook-0.4.30/bin/mdbook build --dest-dir "$out"

View File

@ -3,10 +3,10 @@ declare -x HOME="/homeless-shelter"
declare -x HOST_PATH="/nix/store/c2bq8xsayc90s33fd5xbm1vh5lrmwcfq-coreutils-9.3/bin:/nix/store/dq11g3lzkl5bxrjy9y6x1pjxkxx6z91f-findutils-4.9.0/bin:/nix/store/xwchhp6yh1s1m1zkkzfqc8dwfprlz6mi-diffutils-3.10/bin:/nix/store/n31qkcw7f4jkkl0crczd6hiyy8sdjaz5-gnused-4.9/bin:/nix/store/yw3g789y5fpmxbzgkhs4nv7xdnyklsjd-gnugrep-3.11/bin:/nix/store/l69xigsqwjhlfl45h59ih69r1ni44xli-gawk-5.2.2/bin:/nix/store/61fb45v0p9rgpg8k4bmkd7wz187454f9-gnutar-1.34/bin:/nix/store/zh1g9lzd8wpgcjxcvm3y4a6dwjy50dym-gzip-1.12/bin:/nix/store/118gd5v4dr5zsmqkd4bigp3j5vhmdmn5-bzip2-1.0.8-bin/bin:/nix/store/xqgd14chbnrqyi0080kkyzsxwsi3hvld-gnumake-4.4.1/bin:/nix/store/51sszqz1d9kpx480scb1vllc00kxlx79-bash-5.2-p15/bin:/nix/store/sf1434s0vamnwa1ms1az7nn6z5qg5kqc-patch-2.7.6/bin:/nix/store/j9mafmdr7vmbvwznmd8axg7vgqn93m11-xz-5.4.3-bin/bin:/nix/store/fqi9n7p5rrzqansqb64zf92c2g0hk0hk-file-5.44/bin"
declare -x NIX_BUILD_CORES="2"
declare -x NIX_BUILD_TOP="/build"
declare -x NIX_CFLAGS_COMPILE=" -frandom-seed=7wh9ikszix"
declare -x NIX_CFLAGS_COMPILE=" -frandom-seed=xpbxjpmlxj"
declare -x NIX_ENFORCE_NO_NATIVE="1"
declare -x NIX_ENFORCE_PURITY="1"
declare -x NIX_LDFLAGS="-rpath /nix/store/7wh9ikszixnidiic07i2hi27sj7skg8w-nixos-anywhere-docs/lib "
declare -x NIX_LDFLAGS="-rpath /nix/store/xpbxjpmlxj8g0p12v3dpzflj088ndzh0-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/7wh9ikszixnidiic07i2hi27sj7skg8w-nixos-anywhere-docs"
declare -x out="/nix/store/xpbxjpmlxj8g0p12v3dpzflj088ndzh0-nixos-anywhere-docs"
declare -x outputs="out"
declare -x passAsFile="buildCommand"
declare -x patches=""

View File

@ -306,10 +306,20 @@ directory containing the flake to update <code>flake.lock</code> before rerunnin
<pre><code>nix flake update
</code></pre>
<p>The new server's configurations are defined in the flake. <code>nixos-anywhere</code> does
not create <code>etc/nixos/configuration.nix</code>since it expects the server to be
not create <code>etc/nixos/configuration.nix</code>, since it expects the server to be
administered remotely. Any future changes to the configuration should be made to
the flake, and you would reference this flake when doing the rebuild:</p>
<pre><code>nixos-rebuild --flake &lt;URL to your flake&gt; switch
the flake, and you would reference this flake when doing the nixos-rebuild
command or a deployment tool of your choice i.e.
<a href="https://github.com/zhaofengli/colmena">colmena</a>,
<a href="https://github.com/MatthewCroughan/nixinate">nixinate</a>.</p>
<p>This example can be run from the machine itself for updating (replace
<code>&lt;URL to your flake&gt;</code> with your flake i.e. <code>.#</code> if your flake is in the current
directory):</p>
<pre><code>nixos-rebuild switch --flake &lt;URL to your flake&gt;
</code></pre>
<p>You can also run <code>nixos-rebuild</code> to update a machine remotly, if you have set up
an openssh server and your ssh key for the root user:</p>
<pre><code>nixos-rebuild switch --flake &lt;URL to your flake&gt; --target-host &quot;root@&lt;ip address&gt;&quot;
</code></pre>
<p>For more information on different use cases of <strong>nixos-anywhere</strong> please refer
to the <a href="./howtos.html">How to Guide</a>, and for more technical information and

View File

@ -307,10 +307,20 @@ directory containing the flake to update <code>flake.lock</code> before rerunnin
<pre><code>nix flake update
</code></pre>
<p>The new server's configurations are defined in the flake. <code>nixos-anywhere</code> does
not create <code>etc/nixos/configuration.nix</code>since it expects the server to be
not create <code>etc/nixos/configuration.nix</code>, since it expects the server to be
administered remotely. Any future changes to the configuration should be made to
the flake, and you would reference this flake when doing the rebuild:</p>
<pre><code>nixos-rebuild --flake &lt;URL to your flake&gt; switch
the flake, and you would reference this flake when doing the nixos-rebuild
command or a deployment tool of your choice i.e.
<a href="https://github.com/zhaofengli/colmena">colmena</a>,
<a href="https://github.com/MatthewCroughan/nixinate">nixinate</a>.</p>
<p>This example can be run from the machine itself for updating (replace
<code>&lt;URL to your flake&gt;</code> with your flake i.e. <code>.#</code> if your flake is in the current
directory):</p>
<pre><code>nixos-rebuild switch --flake &lt;URL to your flake&gt;
</code></pre>
<p>You can also run <code>nixos-rebuild</code> to update a machine remotly, if you have set up
an openssh server and your ssh key for the root user:</p>
<pre><code>nixos-rebuild switch --flake &lt;URL to your flake&gt; --target-host &quot;root@&lt;ip address&gt;&quot;
</code></pre>
<p>For more information on different use cases of <strong>nixos-anywhere</strong> please refer
to the <a href="./howtos.html">How to Guide</a>, and for more technical information and

View File

@ -306,10 +306,20 @@ directory containing the flake to update <code>flake.lock</code> before rerunnin
<pre><code>nix flake update
</code></pre>
<p>The new server's configurations are defined in the flake. <code>nixos-anywhere</code> does
not create <code>etc/nixos/configuration.nix</code>since it expects the server to be
not create <code>etc/nixos/configuration.nix</code>, since it expects the server to be
administered remotely. Any future changes to the configuration should be made to
the flake, and you would reference this flake when doing the rebuild:</p>
<pre><code>nixos-rebuild --flake &lt;URL to your flake&gt; switch
the flake, and you would reference this flake when doing the nixos-rebuild
command or a deployment tool of your choice i.e.
<a href="https://github.com/zhaofengli/colmena">colmena</a>,
<a href="https://github.com/MatthewCroughan/nixinate">nixinate</a>.</p>
<p>This example can be run from the machine itself for updating (replace
<code>&lt;URL to your flake&gt;</code> with your flake i.e. <code>.#</code> if your flake is in the current
directory):</p>
<pre><code>nixos-rebuild switch --flake &lt;URL to your flake&gt;
</code></pre>
<p>You can also run <code>nixos-rebuild</code> to update a machine remotly, if you have set up
an openssh server and your ssh key for the root user:</p>
<pre><code>nixos-rebuild switch --flake &lt;URL to your flake&gt; --target-host &quot;root@&lt;ip address&gt;&quot;
</code></pre>
<p>For more information on different use cases of <strong>nixos-anywhere</strong> please refer
to the <a href="./howtos.html">How to Guide</a>, and for more technical information and

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long