mirror of
https://github.com/divnix/digga.git
synced 2024-12-23 08:02:21 +03:00
deploy: 504459e184
This commit is contained in:
parent
1af72e958c
commit
80ee1e702e
26
print.html
26
print.html
@ -262,7 +262,8 @@ goals are sufficiently upstreamed into "the Nix", dissolved.</p>
|
|||||||
<div style="break-before: page; page-break-before: always;"></div><h1 id="quick-start"><a class="header" href="#quick-start">Quick Start</a></h1>
|
<div style="break-before: page; page-break-before: always;"></div><h1 id="quick-start"><a class="header" href="#quick-start">Quick Start</a></h1>
|
||||||
<p>The only dependency is nix, so make sure you have it <a href="https://nixos.org/manual/nix/stable/#sect-multi-user-installation">installed</a>.</p>
|
<p>The only dependency is nix, so make sure you have it <a href="https://nixos.org/manual/nix/stable/#sect-multi-user-installation">installed</a>.</p>
|
||||||
<h2 id="get-the-template"><a class="header" href="#get-the-template">Get the Template</a></h2>
|
<h2 id="get-the-template"><a class="header" href="#get-the-template">Get the Template</a></h2>
|
||||||
<p>If you currently don't have flakes setup, you can utilize the digga shell to pull the template:</p>
|
<p>If you currently don't have flakes setup, you can utilize the digga shell to
|
||||||
|
pull the template:</p>
|
||||||
<pre><code class="language-sh">nix-shell "https://github.com/divnix/digga/archive/main.tar.gz" \
|
<pre><code class="language-sh">nix-shell "https://github.com/divnix/digga/archive/main.tar.gz" \
|
||||||
--run "nix flake init -t github:divnix/digga"
|
--run "nix flake init -t github:divnix/digga"
|
||||||
</code></pre>
|
</code></pre>
|
||||||
@ -272,30 +273,25 @@ goals are sufficiently upstreamed into "the Nix", dissolved.</p>
|
|||||||
<p>Then make sure to create the git repository:</p>
|
<p>Then make sure to create the git repository:</p>
|
||||||
<pre><code class="language-sh">git init
|
<pre><code class="language-sh">git init
|
||||||
git add .
|
git add .
|
||||||
git commit -m init
|
git commit
|
||||||
</code></pre>
|
</code></pre>
|
||||||
<p>To drop into a nix-shell, if you don't have flakes setup, use the digga shell to create a <code>flake.lock</code>:</p>
|
<p>Finally, run <code>nix-shell</code> to get to an interactive shell with all the
|
||||||
<pre><code class="language-sh">nix-shell "https://github.com/divnix/digga/archive/main.tar.gz" \
|
dependencies, including the unstable nix version required. You can run <code>menu</code> to
|
||||||
--run "nix flake lock"
|
confirm that you are using digga (expected output includes [docs], [general
|
||||||
</code></pre>
|
commands], [linter], etc.).</p>
|
||||||
<p>Or if you do have flakes support, just run:</p>
|
|
||||||
<pre><code class="language-sh">nix flake lock
|
|
||||||
</code></pre>
|
|
||||||
<p>Finally, run <code>nix-shell</code> to get to an interactive shell with all the dependencies, including the unstable nix
|
|
||||||
version required. You can run <code>menu</code> to confirm that you are using digga (expected output includes [docs], [general commands], [linter], etc.).</p>
|
|
||||||
<p>In addition, the <a href="start/../integrations/cachix.html">binary cache</a> is added for faster deployment.</p>
|
<p>In addition, the <a href="start/../integrations/cachix.html">binary cache</a> is added for faster deployment.</p>
|
||||||
<blockquote>
|
<blockquote>
|
||||||
<h5 id="notes"><a class="header" href="#notes"><em>Notes:</em></a></h5>
|
<h1 id="notes"><a class="header" href="#notes"><em>Notes:</em></a></h1>
|
||||||
<ul>
|
<ul>
|
||||||
<li>Flakes ignore files that have not been added to git, so be sure to stage new
|
<li>Flakes ignore files that have not been added to git, so be sure to stage new
|
||||||
files before building the system.</li>
|
files before building the system.</li>
|
||||||
<li>You can choose to simply clone the repo with git if you want to follow
|
<li>You can choose to simply clone the repo with git if you want to follow
|
||||||
upstream changes.</li>
|
upstream changes.</li>
|
||||||
<li>If the <code>nix-shell -p cachix --run "cachix use nrdxp"</code> line doesn't work
|
<li>If the <code>nix-shell -p cachix --run "cachix use nrdxp"</code> line doesn't work you
|
||||||
you can try with sudo: <code>sudo nix-shell -p cachix --run "cachix use nrdxp"</code></li>
|
can try with sudo: <code>sudo nix-shell -p cachix --run "cachix use nrdxp"</code></li>
|
||||||
</ul>
|
</ul>
|
||||||
</blockquote>
|
</blockquote>
|
||||||
<h2 id="next-steps"><a class="header" href="#next-steps">Next Steps:</a></h2>
|
<h2 id="next-steps"><a class="header" href="#next-steps">Next Steps</a></h2>
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="start/./iso.html">Make installable ISO</a></li>
|
<li><a href="start/./iso.html">Make installable ISO</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -144,7 +144,8 @@
|
|||||||
<h1 id="quick-start"><a class="header" href="#quick-start">Quick Start</a></h1>
|
<h1 id="quick-start"><a class="header" href="#quick-start">Quick Start</a></h1>
|
||||||
<p>The only dependency is nix, so make sure you have it <a href="https://nixos.org/manual/nix/stable/#sect-multi-user-installation">installed</a>.</p>
|
<p>The only dependency is nix, so make sure you have it <a href="https://nixos.org/manual/nix/stable/#sect-multi-user-installation">installed</a>.</p>
|
||||||
<h2 id="get-the-template"><a class="header" href="#get-the-template">Get the Template</a></h2>
|
<h2 id="get-the-template"><a class="header" href="#get-the-template">Get the Template</a></h2>
|
||||||
<p>If you currently don't have flakes setup, you can utilize the digga shell to pull the template:</p>
|
<p>If you currently don't have flakes setup, you can utilize the digga shell to
|
||||||
|
pull the template:</p>
|
||||||
<pre><code class="language-sh">nix-shell "https://github.com/divnix/digga/archive/main.tar.gz" \
|
<pre><code class="language-sh">nix-shell "https://github.com/divnix/digga/archive/main.tar.gz" \
|
||||||
--run "nix flake init -t github:divnix/digga"
|
--run "nix flake init -t github:divnix/digga"
|
||||||
</code></pre>
|
</code></pre>
|
||||||
@ -154,30 +155,25 @@
|
|||||||
<p>Then make sure to create the git repository:</p>
|
<p>Then make sure to create the git repository:</p>
|
||||||
<pre><code class="language-sh">git init
|
<pre><code class="language-sh">git init
|
||||||
git add .
|
git add .
|
||||||
git commit -m init
|
git commit
|
||||||
</code></pre>
|
</code></pre>
|
||||||
<p>To drop into a nix-shell, if you don't have flakes setup, use the digga shell to create a <code>flake.lock</code>:</p>
|
<p>Finally, run <code>nix-shell</code> to get to an interactive shell with all the
|
||||||
<pre><code class="language-sh">nix-shell "https://github.com/divnix/digga/archive/main.tar.gz" \
|
dependencies, including the unstable nix version required. You can run <code>menu</code> to
|
||||||
--run "nix flake lock"
|
confirm that you are using digga (expected output includes [docs], [general
|
||||||
</code></pre>
|
commands], [linter], etc.).</p>
|
||||||
<p>Or if you do have flakes support, just run:</p>
|
|
||||||
<pre><code class="language-sh">nix flake lock
|
|
||||||
</code></pre>
|
|
||||||
<p>Finally, run <code>nix-shell</code> to get to an interactive shell with all the dependencies, including the unstable nix
|
|
||||||
version required. You can run <code>menu</code> to confirm that you are using digga (expected output includes [docs], [general commands], [linter], etc.).</p>
|
|
||||||
<p>In addition, the <a href="../integrations/cachix.html">binary cache</a> is added for faster deployment.</p>
|
<p>In addition, the <a href="../integrations/cachix.html">binary cache</a> is added for faster deployment.</p>
|
||||||
<blockquote>
|
<blockquote>
|
||||||
<h5 id="notes"><a class="header" href="#notes"><em>Notes:</em></a></h5>
|
<h1 id="notes"><a class="header" href="#notes"><em>Notes:</em></a></h1>
|
||||||
<ul>
|
<ul>
|
||||||
<li>Flakes ignore files that have not been added to git, so be sure to stage new
|
<li>Flakes ignore files that have not been added to git, so be sure to stage new
|
||||||
files before building the system.</li>
|
files before building the system.</li>
|
||||||
<li>You can choose to simply clone the repo with git if you want to follow
|
<li>You can choose to simply clone the repo with git if you want to follow
|
||||||
upstream changes.</li>
|
upstream changes.</li>
|
||||||
<li>If the <code>nix-shell -p cachix --run "cachix use nrdxp"</code> line doesn't work
|
<li>If the <code>nix-shell -p cachix --run "cachix use nrdxp"</code> line doesn't work you
|
||||||
you can try with sudo: <code>sudo nix-shell -p cachix --run "cachix use nrdxp"</code></li>
|
can try with sudo: <code>sudo nix-shell -p cachix --run "cachix use nrdxp"</code></li>
|
||||||
</ul>
|
</ul>
|
||||||
</blockquote>
|
</blockquote>
|
||||||
<h2 id="next-steps"><a class="header" href="#next-steps">Next Steps:</a></h2>
|
<h2 id="next-steps"><a class="header" href="#next-steps">Next Steps</a></h2>
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="./iso.html">Make installable ISO</a></li>
|
<li><a href="./iso.html">Make installable ISO</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
|
Loading…
Reference in New Issue
Block a user