<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/">
  <channel>
    <title>HermitBlog</title>
    <link>https://blog.hermitcollective.net/</link>
    <description>Recent content on HermitBlog</description>
    <generator>Hugo -- gohugo.io</generator>
    <language>en</language>
    <managingEditor>hertog@fsfe.org (Hertog)</managingEditor>
    <webMaster>hertog@fsfe.org (Hertog)</webMaster>
    <copyright>© 2024 HermitCollective</copyright>
    <lastBuildDate>Thu, 14 Mar 2024 00:00:00 +0000</lastBuildDate>
    <atom:link href="https://blog.hermitcollective.net/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>To blog or not to blog</title>
      <link>https://blog.hermitcollective.net/to-blog-or-not-blog/</link>
      <pubDate>Thu, 14 Mar 2024 00:00:00 +0000</pubDate><author>hertog@fsfe.org (Hertog)</author>
      <guid>https://blog.hermitcollective.net/to-blog-or-not-blog/</guid>
      <description>&lt;h2 id=&#34;why-a-blog&#34;&gt;Why a blog?&lt;/h2&gt;
&lt;p&gt;To start I (Hertog) had a blog already which I wanted to post lil nix(os) tutorial on since I have had trouble finding those in the past.&lt;br&gt;
This blog will be more than that and the porpoise will be more selfish honestly, writing seems like an excellent way for me to throw my thoughts out there without needing to bother to many others with it.&lt;br&gt;
I am not saying that because I find myself so annoying but so that I don&amp;rsquo;t have to cater towards a specific content.&lt;/p&gt;</description>
      <content:encoded><![CDATA[<h2 id="why-a-blog">Why a blog?</h2>
<p>To start I (Hertog) had a blog already which I wanted to post lil nix(os) tutorial on since I have had trouble finding those in the past.<br>
This blog will be more than that and the porpoise will be more selfish honestly, writing seems like an excellent way for me to throw my thoughts out there without needing to bother to many others with it.<br>
I am not saying that because I find myself so annoying but so that I don&rsquo;t have to cater towards a specific content.</p>
<h2 id="why-here">Why here?</h2>
<p>Well while I would love for hermitcollective to grow beyond just me I doubt that will ever happen, most people who care enough (and are techy enough to be oke with nixos fuckery) will have set up their own site.<br>
So one it is just me here so allot more freedom in what I do with this place and two the things I used to build it interest me greatly and kinda fuel the need for a blog as well (if I decide to blog about it).<br>
Now ofcourse I could just ramble on social media (<a href="https://tech.lgbt/@hertog">and I do</a>) I find I use social media for a more direct posting approach, less thought out and much shorter (and sillier).</p>
<h2 id="so-when-will-you-post">So when will you post?</h2>
<p>Oh so you are interested in my posts aren&rsquo;t you strawman? I am truly flattered.<br>
I intend to post in two scenarious:</p>
<ul>
<li>
<p>1 I just did something cool and I want to show off.</p>
</li>
<li>
<p>2 I want to keep track of doing things and writing about it is a nice way to keep thoughts lingering instead of just flowing.</p>
</li>
</ul>
<h2 id="in-conclusion-not-really">In conclusion (not really)</h2>
<p>When I post will definetly not be random, from my perspective that is.<br>
Do not expect thing just any but not anything if that makes sense.<br>
Who knows maby when I start my next school I will post more often due to working on more projects (unless I start before that HAHA!!).</p>
<h3 id="author">Author</h3>
<p>Hertog<br>
<a href="hertog.hermitcollective.net">Website</a> <br>
<a href="https://tech.lgbt/@hertog">Fediverse</a></p>
]]></content:encoded>
    </item>
    <item>
      <title>What Anarchism means to me</title>
      <link>https://blog.hermitcollective.net/what-anarchism-means-to-me/</link>
      <pubDate>Thu, 14 Mar 2024 00:00:00 +0000</pubDate><author>hertog@fsfe.org (Hertog)</author>
      <guid>https://blog.hermitcollective.net/what-anarchism-means-to-me/</guid>
      <description>&lt;h2 id=&#34;introduction&#34;&gt;Introduction&lt;/h2&gt;
&lt;p&gt;My reason for writing this is rather simple: I want to comprehensively organize my own views, I want to be able to show others my views without being limited by social medias character limits and I simply do not wish to argue about it with complete strangers.&lt;/p&gt;
&lt;p&gt;That being said feel free to agree or disagree to reshape or to ignore as stated I am writing this for myself if I come to disagree with it in the future I will simply have grown or if I stay in agreement to what I have written the same is true.&lt;/p&gt;</description>
      <content:encoded><![CDATA[<h2 id="introduction">Introduction</h2>
<p>My reason for writing this is rather simple: I want to comprehensively organize my own views, I want to be able to show others my views without being limited by social medias character limits and I simply do not wish to argue about it with complete strangers.</p>
<p>That being said feel free to agree or disagree to reshape or to ignore as stated I am writing this for myself if I come to disagree with it in the future I will simply have grown or if I stay in agreement to what I have written the same is true.</p>
<p>My of my anarchist reading has been from the works of Peter Kropotkin if any of my further ideas seem interesting I recommend reading his works.</p>
<h3 id="author">Author</h3>
<p>Hertog<br>
<a href="hertog.hermitcollective.net">Website</a> <br>
<a href="https://tech.lgbt/@hertog">Fediverse</a></p>
]]></content:encoded>
    </item>
    <item>
      <title>Setting up Owncast with NixOS</title>
      <link>https://blog.hermitcollective.net/owncast-on-nixos/</link>
      <pubDate>Fri, 27 Oct 2023 00:00:00 +0000</pubDate><author>hertog@fsfe.org (Hertog)</author>
      <guid>https://blog.hermitcollective.net/owncast-on-nixos/</guid>
      <description>&lt;h2 id=&#34;what-is-owncast&#34;&gt;What is Owncast?&lt;/h2&gt;
&lt;p&gt;&lt;a href=&#34;https://owncast.online/&#34;&gt;Owncast&lt;/a&gt; is a lightweight program to set up your own livestreaming website as an alternative to streaming on twitch or youtube.&lt;/p&gt;
&lt;p&gt;It is fully free and open source licensed under the &lt;a href=&#34;https://mit-license.org/&#34;&gt;MIT license&lt;/a&gt; and can even be linked with the &lt;a href=&#34;https://en.wikipedia.org/wiki/Fediverse&#34;&gt;fediverse!&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Which to me is perfect! I really wanted to get back into livestreaming (I used to do this on twitch allot) but I wanted a platform without adds or corporate influence and thus owncast.&lt;/p&gt;</description>
      <content:encoded><![CDATA[<h2 id="what-is-owncast">What is Owncast?</h2>
<p><a href="https://owncast.online/">Owncast</a> is a lightweight program to set up your own livestreaming website as an alternative to streaming on twitch or youtube.</p>
<p>It is fully free and open source licensed under the <a href="https://mit-license.org/">MIT license</a> and can even be linked with the <a href="https://en.wikipedia.org/wiki/Fediverse">fediverse!</a></p>
<p>Which to me is perfect! I really wanted to get back into livestreaming (I used to do this on twitch allot) but I wanted a platform without adds or corporate influence and thus owncast.</p>
<h2 id="as-for-nixos">As for NixOS</h2>
<p>I use NixOS to selfhost everything I can (including this website!) but I couldn&rsquo;t find any wiki pages or concrete owncast configurations online, I did eventually get it working and will share my configuration here.</p>
<h2 id="the-owncast-part-of-the-config">The Owncast part of the config</h2>
<p>This part is the easiest it is simply enabling it setting an unused port (the default and recommended is 8080) and then let owncast open that part of the firewall.</p>






<pre tabindex="0"><code>services.owncast = {
    enable = true;
    port = 8080;
    openFirewall = true;
  };</code></pre>
<h2 id="the-nginx-part">The nginx part!</h2>
<p>Nginx is needed to setup a proxy so we can link owncast to our domain and ensure everything will run securely.
We begin by setting the (sub)domain that we wish to point at owncast and we enable SSL and ACME.
The locations part needs to point at the port we set earlier so that nginx knows to point at owncast.
Owncast also needs websockets so we set that to true as wel, the extra config is to ensure our proxy works.</p>






<pre tabindex="0"><code> services.nginx.virtualHosts.&#34;live.hermitcollective.net&#34; = {
      forceSSL = true;
      enableACME = true;
      locations.&#34;/&#34; = {
        proxyPass = &#34;http://localhost:8080&#34;;
        proxyWebsockets = true; # needed if you need to use WebSocket
        extraConfig =
          # required when the target is also TLS server with multiple hosts
          &#34;proxy_ssl_server_name on;&#34; +
          # required when the server wants to use HTTP Authentication
          &#34;proxy_pass_header Authorization;&#34;
          ;
      };
  };</code></pre>
<h2 id="the-full-config">The full config</h2>
<p>Your entire config should look something like this now at which point you can sudo nixos-rebuild switch!:</p>






<pre tabindex="0"><code>{ config, pkgs, ... }:

{
  services.owncast = {
    enable = true;
    port = 8080;
    openFirewall = true;
  };
  # Homepages
  services.nginx.virtualHosts.&#34;yourdomain.net&#34; = {
      forceSSL = true;
      enableACME = true;
      locations.&#34;/&#34; = {
        proxyPass = &#34;http://localhost:8080&#34;;
        proxyWebsockets = true; # needed if you need to use WebSocket
        extraConfig =
          # required when the target is also TLS server with multiple hosts
          &#34;proxy_ssl_server_name on;&#34; +
          # required when the server wants to use HTTP Authentication
          &#34;proxy_pass_header Authorization;&#34;
          ;
      };
  };
}</code></pre>
<h2 id="extra-information">Extra information</h2>
<p>We are not done yet however there is one more this that is required on the nixos side of things and quite a few things in your owncast webpage.</p>
<p>While we did setup nginx for this owncast we didn&rsquo;t do a full nginx setup, this is because in my homeserver nginx is used for many things and I want to avoid duplicate nix code so I have a separate nginx config which can be found <a href="https://git.saragerretsen.nl/Hertog/HermitCollective.nix/src/branch/main/services/nginx.nix">here</a>.</p>
<p>Now that that is done we can go into our owncast web page at <a href="https://yourdomain.net/admin">https://yourdomain.net/admin</a>.
Here it will ask you to log in the default for this is Username: Admin and Password: abc123 you want to replace this as soon as possible!
Luckely there is the owncast admin page you just logged into for that, either hit view next to streaming keys in the home page or head to Stream Keys in Server Setup under the Configuration tab.</p>
<p>When you are done with that open your favourite streaming application set the livestreaming service to custom and use this link rtmp://yourdomain.net:1935/live with the streamkey you just set!</p>
<p>Feedback on this blog can be left <a href="https://tech.lgbt/@hertog/111306437367785113">here</a> thank you!</p>
<h2 id="further-help">Further help</h2>
<p>If you need extra configuring (and know what you are doing) more owncast options can be found <a href="https://search.nixos.org/options?channel=unstable&amp;from=0&amp;size=50&amp;sort=relevance&amp;type=packages&amp;query=owncast">here</a> and the owncast documentation can be found <a href="https://owncast.online/docs/">here</a>.
Is your version not up to date with Nix pkgs? run <code>nix-channel --update</code>.
Lastely if this guide gets out of date my current owncast config can be found <a href="https://git.saragerretsen.nl/Hertog/HermitCollective.nix/src/branch/Main/services/owncast.nix">here</a>.</p>
<h3 id="author">Author</h3>
<p><a href="https://tech.lgbt/@hertog">Hertog</a></p>
]]></content:encoded>
    </item>
  </channel>
</rss>
