Compare commits

..

No commits in common. "02871d08d3a1320b6e6197f9483a232381f39e83" and "e29d3651fd775ddfddf4a6fa303d660e0350601d" have entirely different histories.

8 changed files with 24 additions and 81 deletions

View file

@ -9,10 +9,6 @@
</head>
<body class="line-numbers">
<h1 id="checking-out-blendos">Checking out blendOS</h1>
<hr />
<p>WARNING: This page is a work-in-progress, and is very
incomplete. Read at your own risk.</p>
<hr />
<p>blendOS is self-described as "Arch Linux, made declarative,
immutable and atomic." And yeah, that's a pretty good
description of what it is. But you can never <em>really</em>
@ -21,7 +17,7 @@
<p>I decided to just run blendOS in a virtual machine; I had a
bunch of data I hadn't backed up yet and was actively working
on, and didn't feeling like switching yet given I had no
experience with blendOS v4 - I've actually tried blendOS v3
experience with blendOS v4[^1] - I've actually tried blendOS v3
before, back when v4 was in alpha, but it had practically zero
documentation, not even <code>man</code> pages, so I gave up on
it very quickly. But with v4, hopefully it's improved since
@ -36,44 +32,16 @@
<span id="cb1-3"><a href="#cb1-3" aria-hidden="true" tabindex="-1"></a><span class="fu">track</span><span class="kw">:</span><span class="at"> default-gnome</span></span></code></pre></div>
<p>At first I wasn't sure what impl is doing, but it seems to be
combined with the track to get the URL for the raw
<code>yaml</code> file<a href="#fn1" class="footnote-ref"
id="fnref1" role="doc-noteref"><sup>1</sup></a>.</p>
<code>yaml</code> file[^1].</p>
<p>This is actually a really interesting bit <em>which isn't
documented</em>, as it means you can just, say, host your own
track(s) for all your computers in a Git repo, and they can each
inherit from other configs<a href="#fn2" class="footnote-ref"
id="fnref2" role="doc-noteref"><sup>2</sup></a> or be overridden
locally; this actually seems like a very interesting and viable
way to centrally manage many computers running Linux, and given
I'm constantly switching between several computers; I can just
put my config(s) in one repo, and pull from that.</p>
inherit from other configs[^2] or be overridden locally; this
actually seems like a very interesting and viable way to
centrally manage many computers running Linux, and given I'm
constantly switching between several computers; I can just put
my config(s) in one repo, and pull from that.</p>
<h2 id="configuration">Configuration</h2>
<p>blendOS's configuration is really simple:</p>
<div class="sourceCode" id="cb2"><pre
class="language-yaml"><code class="language-yaml"><span id="cb2-1"><a href="#cb2-1" aria-hidden="true" tabindex="-1"></a><span class="fu">impl</span><span class="kw">:</span><span class="at"> http://github.com/blend-os/tracks/raw/main</span></span>
<span id="cb2-2"><a href="#cb2-2" aria-hidden="true" tabindex="-1"></a><span class="fu">repo</span><span class="kw">:</span><span class="at"> https://pkg-repo.blendos.co</span></span>
<span id="cb2-3"><a href="#cb2-3" aria-hidden="true" tabindex="-1"></a><span class="fu">track</span><span class="kw">:</span><span class="at"> default-gnome</span></span>
<span id="cb2-4"><a href="#cb2-4" aria-hidden="true" tabindex="-1"></a></span>
<span id="cb2-5"><a href="#cb2-5" aria-hidden="true" tabindex="-1"></a><span class="fu">arch-repo</span><span class="kw">:</span><span class="at"> </span><span class="st">&#39;https://repo-goes-here.example&#39;</span></span>
<span id="cb2-6"><a href="#cb2-6" aria-hidden="true" tabindex="-1"></a></span>
<span id="cb2-7"><a href="#cb2-7" aria-hidden="true" tabindex="-1"></a><span class="fu">packages</span><span class="kw">:</span></span>
<span id="cb2-8"><a href="#cb2-8" aria-hidden="true" tabindex="-1"></a><span class="at"> </span><span class="kw">-</span><span class="at"> </span><span class="st">&#39;fish&#39;</span></span>
<span id="cb2-9"><a href="#cb2-9" aria-hidden="true" tabindex="-1"></a></span>
<span id="cb2-10"><a href="#cb2-10" aria-hidden="true" tabindex="-1"></a><span class="fu">aur-packages</span><span class="kw">:</span></span>
<span id="cb2-11"><a href="#cb2-11" aria-hidden="true" tabindex="-1"></a><span class="at"> </span><span class="kw">-</span><span class="at"> </span><span class="st">&#39;EVEN-MORE-FISH&#39;</span></span>
<span id="cb2-12"><a href="#cb2-12" aria-hidden="true" tabindex="-1"></a></span>
<span id="cb2-13"><a href="#cb2-13" aria-hidden="true" tabindex="-1"></a><span class="fu">services</span><span class="kw">:</span></span>
<span id="cb2-14"><a href="#cb2-14" aria-hidden="true" tabindex="-1"></a><span class="at"> </span><span class="kw">-</span><span class="at"> </span><span class="st">&#39;service-goes-here&#39;</span></span>
<span id="cb2-15"><a href="#cb2-15" aria-hidden="true" tabindex="-1"></a></span>
<span id="cb2-16"><a href="#cb2-16" aria-hidden="true" tabindex="-1"></a><span class="fu">user-services</span><span class="kw">:</span></span>
<span id="cb2-17"><a href="#cb2-17" aria-hidden="true" tabindex="-1"></a><span class="at"> </span><span class="kw">-</span><span class="at"> </span><span class="st">&#39;user-service-goes-here&#39;</span></span>
<span id="cb2-18"><a href="#cb2-18" aria-hidden="true" tabindex="-1"></a></span>
<span id="cb2-19"><a href="#cb2-19" aria-hidden="true" tabindex="-1"></a><span class="fu">package-repos</span><span class="kw">:</span></span>
<span id="cb2-20"><a href="#cb2-20" aria-hidden="true" tabindex="-1"></a><span class="at"> </span><span class="kw">-</span><span class="at"> </span><span class="fu">name</span><span class="kw">:</span><span class="at"> </span><span class="st">&#39;repo name&#39;</span></span>
<span id="cb2-21"><a href="#cb2-21" aria-hidden="true" tabindex="-1"></a><span class="at"> </span><span class="fu">repo-url</span><span class="kw">:</span><span class="at"> </span><span class="st">&#39;https://repo.url&#39;</span></span>
<span id="cb2-22"><a href="#cb2-22" aria-hidden="true" tabindex="-1"></a></span>
<span id="cb2-23"><a href="#cb2-23" aria-hidden="true" tabindex="-1"></a><span class="fu">commands</span><span class="kw">:</span></span>
<span id="cb2-24"><a href="#cb2-24" aria-hidden="true" tabindex="-1"></a><span class="at"> </span><span class="st">&#39;echo hiiiiiii &gt; /home/user/helloooooo&#39;</span></span></code></pre></div>
<p>It's quite basic, but blendOS actually works very well for
me; I already have a Git repo of <a
href="https://git.askiiart.net/askiiart/configs">all my
@ -96,25 +64,19 @@
post-install intro</a></li>
</ul>
<h2 id="footnotes">Footnotes</h2>
<aside id="footnotes"
class="footnotes footnotes-end-of-document" role="doc-endnotes">
<hr />
<ol>
<li id="fn1"><p>That is,
<ul>
<li>[^1] That is,
<code>http://github.com/blend-os/tracks/raw/main</code> +
<code>/</code> + <code>default-gnome</code> +
<code>.yaml</code><a href="#fnref1" class="footnote-back"
role="doc-backlink">↩︎</a></p></li>
<li id="fn2"><p>In the provided <code>blend-os/tracks</code>
repo, <code>default-gnome</code> actually inherits from the
<code>gnome</code> track.<a href="#fnref2" class="footnote-back"
role="doc-backlink">↩︎</a></p></li>
</ol>
</aside>
<code>.yaml</code></li>
<li>[^2] In the provided <code>blend-os/tracks</code> repo,
<code>default-gnome</code> actually inherits from the
<code>gnome</code> track.</li>
</ul>
<iframe src="https://john.citrons.xyz/embed?ref=askiiart.net" style="margin-left:auto;display:block;margin-right:auto;max-width:732px;width:100%;height:94px;border:none;"></iframe>
<script src="/prism.js"></script>
</body>
<footer>
<p><a href="https://git.askiiart.net/askiiart/engl-2311-blog">Source code</a>&ensp;|&ensp;<a href="/feed.xml">RSS</a></p>
<p><a href="https://git.askiiart.net/askiiart/engl-2311-blog">code</a>&emsp;<a href="/feed.xml">RSS</a></p>
</footer>
</html>

View file

@ -1,16 +1,10 @@
# Checking out blendOS
---
WARNING: This page is a work-in-progress, and is very incomplete. Read at your own risk.
---
blendOS is self-described as "Arch Linux, made declarative, immutable and atomic." And yeah, that's a pretty good description of what it is. But you can never *really* tell what a distro is like without trying it, so...
## Installation
I decided to just run blendOS in a virtual machine; I had a bunch of data I hadn't backed up yet and was actively working on, and didn't feeling like switching yet given I had no experience with blendOS v4 - I've actually tried blendOS v3 before, back when v4 was in alpha, but it had practically zero documentation, not even `man` pages, so I gave up on it very quickly. But with v4, hopefully it's improved since then.
I decided to just run blendOS in a virtual machine; I had a bunch of data I hadn't backed up yet and was actively working on, and didn't feeling like switching yet given I had no experience with blendOS v4[^1] - I've actually tried blendOS v3 before, back when v4 was in alpha, but it had practically zero documentation, not even `man` pages, so I gave up on it very quickly. But with v4, hopefully it's improved since then.
## First use
@ -72,5 +66,5 @@ Biggest of all blendOS's problems is how slow it is to rebuild. It doesn't save
## Footnotes
[^1]: That is, `http://github.com/blend-os/tracks/raw/main` + `/` + `default-gnome` + `.yaml`
[^2]: In the provided `blend-os/tracks` repo, `default-gnome` actually inherits from the `gnome` track.
- [^1] That is, `http://github.com/blend-os/tracks/raw/main` + `/` + `default-gnome` + `.yaml`
- [^2] In the provided `blend-os/tracks` repo, `default-gnome` actually inherits from the `gnome` track.

View file

@ -2,14 +2,10 @@
<rss version="2.0">
<channel>
<title>eng.askiiart.net</title>
<description>This is the feed for engl.askiiart.net, I guess</description>
<title>askiiart.net</title>
<description>The feed for askiiart.net, I guess</description>
<link>https://askiiart.net</link>
<lastBuildDate>Mon, 26 Aug 2024 14:10:10 +0000</lastBuildDate>
<item>
<title>Checking out blendOS</title>
<link>https://engl.askiiart.net/blog/blendos.html</link>
</item>
<lastBuildDate>Sun, 25 Aug 2024 16:56:47 +0000</lastBuildDate>
</channel>
</rss>

View file

@ -3,13 +3,9 @@
# Makes RSS feed (feed.xml)
# Currently missing description and pubDate
# Based off https://en.wikipedia.org/wiki/RSS, particularly the example
# TODO: update to get metadata from another file, or maybe to automatically extract it from the Markdown or HTML files
# TODO: Add dates for each page via Git history
printf "<?xml version=\"1.0\" encoding=\"UTF-8\" ?>\n<rss version=\"2.0\">\n\n<channel>\n <title>eng.askiiart.net</title>\n <description>This is the feed for engl.askiiart.net, I guess</description>\n <link>https://askiiart.net</link>\n <lastBuildDate>$(TZ='UTC' date --rfc-2822)</lastBuildDate>" >feed.xml
find . -path ./error -prune -o -name '*.html' -print | while read -r item; do
# Skip template.html and index.html
# Skip template.html, wishlist.html, resume.html, and portfolio.html
if [[ ${item} == "./index.html" || ${item} == "./template.html" ]]; then
continue
fi

View file

@ -19,6 +19,6 @@
<script src="/prism.js"></script>
</body>
<footer>
<p><a href="https://git.askiiart.net/askiiart/engl-2311-blog">Source code</a>&ensp;|&ensp;<a href="/feed.xml">RSS</a></p>
<p><a href="https://git.askiiart.net/askiiart/engl-2311-blog">code</a>&emsp;<a href="/feed.xml">RSS</a></p>
</footer>
</html>

View file

@ -2,8 +2,6 @@
import re
import sys
# TODO: rewrite in bash
# add title attribute to img tags
filename = sys.argv[1]
with open(filename, 'r+') as f:

View file

@ -1,3 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?><urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.sitemaps.org/schemas/sitemap/0.9 http://www.sitemaps.org/schemas/sitemap/0.9/sitemap.xsd">
<url><loc>https://engl.askiiart.net/blog/blendos.html</loc></url>
</urlset>

View file

@ -13,6 +13,6 @@
<script src="/prism.js"></script>
</body>
<footer>
<p><a href="https://git.askiiart.net/askiiart/engl-2311-blog">Source code</a>&ensp;|&ensp;<a href="/feed.xml">RSS</a></p>
<p><a href="https://git.askiiart.net/askiiart/engl-2311-blog">code</a>&emsp;<a href="/feed.xml">RSS</a></p>
</footer>
</html>