<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>nixos on edouard.paris</title>
    <link>https://edouard.paris/nixos/</link>
    <description>Recent content in nixos on edouard.paris</description>
    <generator>Hugo</generator>
    <language>en</language>
    <atom:link href="https://edouard.paris/nixos/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Set up ATProto pds with NixOs</title>
      <link>https://edouard.paris/notes/setup-atproto-pds-with-nixos/</link>
      <pubDate>Fri, 21 Mar 2025 00:00:00 +0000</pubDate>
      <guid>https://edouard.paris/notes/setup-atproto-pds-with-nixos/</guid>
      <description>&lt;blockquote&gt;&#xA;&lt;p&gt;Self-hosting a Bluesky PDS means running your own Personal Data Server that is capable of federating with the wider ATProto network. - &lt;a href=&#34;https://atproto.com/guides/self-hosting&#34;&gt;https://atproto.com/guides/self-hosting&lt;/a&gt;&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&lt;hr&gt;&#xA;&lt;h1 id=&#34;set-up-your-personal-atproto-pds-with-nixos&#34;&gt;Set up your personal ATProto PDS with NixOs&lt;/h1&gt;&#xA;&lt;p&gt;This guide walks you through the process to host your own PDS instance&#xA;using &lt;a href=&#34;https://nixos.org&#34;&gt;NixOs&lt;/a&gt;, &lt;a href=&#34;https://github.com/ryantm/agenix&#34;&gt;agenix&lt;/a&gt; for secure environment&#xA;management, and &lt;a href=&#34;https://caddyserver.com/&#34;&gt;Caddy&lt;/a&gt; as a reverse proxy for traffic encryption.&lt;/p&gt;&#xA;&lt;p&gt;Thanks to the Nixpkgs contributors for making this possible!&lt;/p&gt;&#xA;&lt;aside&gt;&#xA;  &lt;div class=&#34;sidenote&#34;&gt;&#xA;  I wrote a &lt;a href=&#34;https://edouard.paris/notes/install-nixos-on-an-ovh-vps-with-nixos-anywhere&#34;&gt;quick guide&lt;/a&gt; on how to install NixOs using &lt;code&gt;nixos-anywhere&lt;/code&gt; on an Ovh vps.&#xA;  &lt;/div&gt;&#xA;&lt;/aside&gt;&#xA;&#xA;&lt;p&gt;You need to have a server running &lt;a href=&#34;https://nixos.org&#34;&gt;NixOs&lt;/a&gt;.&#xA;Using &lt;a href=&#34;https://github.com/nix-community/nixos-anywhere&#34;&gt;nixos-anywhere&lt;/a&gt; makes it&#xA;easy to install on a vps. The server configuration should be in a NixOs flake.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Monitor Caddy logs with goaccess</title>
      <link>https://edouard.paris/notes/caddy-logs-and-goaccess/</link>
      <pubDate>Wed, 29 May 2024 00:00:00 +0000</pubDate>
      <guid>https://edouard.paris/notes/caddy-logs-and-goaccess/</guid>
      <description>&lt;h1 id=&#34;monitor-caddy-logs-with-goaccess&#34;&gt;Monitor Caddy logs with GoAccess&lt;/h1&gt;&#xA;&lt;p&gt;This website has no javascript, no cookie, no tracker whatsoever,&#xA;but I finally wanted to keep track of the number of reads of my writings.&#xA;The problem is how to keep records of some numbers like the total&#xA;of visitor for a day or the list of referring websites while keeping few&#xA;information about clients IPs.&lt;/p&gt;&#xA;&lt;p&gt;Caddy is my first choice as an simple http server for hosting all my static&#xA;websites. It is easy to setup and it has HTTPS automatic support.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Install NixOs on an OVH vps with nixos-anywhere</title>
      <link>https://edouard.paris/notes/install-nixos-on-an-ovh-vps-with-nixos-anywhere/</link>
      <pubDate>Mon, 15 Jan 2024 00:00:00 +0000</pubDate>
      <guid>https://edouard.paris/notes/install-nixos-on-an-ovh-vps-with-nixos-anywhere/</guid>
      <description>&lt;h1 id=&#34;install-nixos-on-an-ovh-vps-with-nixos-anywhere&#34;&gt;Install NixOs on an OVH vps with nixos-anywhere&lt;/h1&gt;&#xA;&lt;p&gt;2023 was the year I was nix pilled. 2024 is the year for the experimentations.&#xA;I discovered the power of NixOs for server deployment with this talk from&#xA;Carl Dong: &lt;a href=&#34;https://www.youtube.com/watch?v=bKTbis4elR8&amp;amp;t=5519s&#34;&gt;The dark arts of NixOs deployments&lt;/a&gt;.&lt;/p&gt;&#xA;&lt;aside&gt;&#xA;  &lt;div class=&#34;sidenote&#34;&gt;&#xA;  In his talk, Carl referenced a&#xA;&lt;a href=&#34;https://www.haskellforall.com/2023/01/announcing-nixos-rebuild-new-deployment.html&#34;&gt;blog post from Haskell for all&lt;/a&gt;&#xA;about nixos-rebuild usage for deployment.&#xA;  &lt;/div&gt;&#xA;&lt;/aside&gt;&#xA;&#xA;&lt;p&gt;He talked about the new nixos-rebuild command to easily change and deploy the&#xA;configuration of a server and how using &lt;a href=&#34;https://www.man7.org/linux/man-pages/man8/kexec.8.html&#34;&gt;kexec(8)&lt;/a&gt;&#xA;and &lt;a href=&#34;https://github.com/nix-community/disko&#34;&gt;disko&lt;/a&gt;&#xA;to install NixOs on it without the &lt;a href=&#34;https://github.com/elitak/nixos-infect&#34;&gt;nixos-infect&lt;/a&gt; scripts&#xA;(which are more a hack than a clean way to do it).&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
