<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>NixFlakes on neildaemond&#39;s hacker blog</title>
    <link>https://808.ninja/tags/nixflakes/</link>
    <description>Recent content in NixFlakes on neildaemond&#39;s hacker blog</description>
    <generator>Hugo</generator>
    <language>en-us</language>
    <lastBuildDate>Fri, 13 Jun 2025 10:36:55 +0800</lastBuildDate>
    <atom:link href="https://808.ninja/tags/nixflakes/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Nix Flake error: path &#39;/nix/store/--/flake.nix&#39; does not exist</title>
      <link>https://808.ninja/coder/nix-flake-error-path-x-does-not-exist/</link>
      <pubDate>Fri, 13 Jun 2025 10:36:55 +0800</pubDate>
      <guid>https://808.ninja/coder/nix-flake-error-path-x-does-not-exist/</guid>
      <description>&lt;h4 id=&#34;ive-noticed-a-path-_-does-not-exist-quirk-when-copying-the-flakenix-file-from-one-project-to-another&#34;&gt;I&amp;rsquo;ve noticed a &amp;lsquo;path _ does not exist&amp;rsquo; quirk when copying the &lt;code&gt;flake.nix&lt;/code&gt; file from one project to another&lt;/h4&gt;&#xA;&lt;p&gt;I thought that I could replicate the nix-flake defined environment of one folder(project) by copying &lt;code&gt;flake.nix&lt;/code&gt; and &lt;code&gt;.envrc&lt;/code&gt; into a new folder. When I do that, I&amp;rsquo;m asked to run &lt;code&gt;direnv allow&lt;/code&gt; on the new folder, but under a particular circumstance, something weird happens; you&amp;rsquo;ll get an error like this:&lt;/p&gt;&#xA;&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;&#34;&gt;&lt;code class=&#34;language-bash&#34; data-lang=&#34;bash&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;direnv: loading ~/proj/project-name/.envrc&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;direnv: using flake .&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;error: path &lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#39;/nix/store/0cc..nm8-source/flake.nix&amp;#39;&lt;/span&gt; does not exist&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;br/&gt;</description>
    </item>
    <item>
      <title>Vim to Helix IDE</title>
      <link>https://808.ninja/news/2025/05/vim-to-helix-ide/</link>
      <pubDate>Sat, 24 May 2025 11:40:05 +0800</pubDate>
      <guid>https://808.ninja/news/2025/05/vim-to-helix-ide/</guid>
      <description>&lt;p&gt;I loved Vim; the keybindings, simplicity, and modal style usage. I could use plugins to achieve almost anything, enabling smooth workflows and tooling that others have pioneered.&lt;/p&gt;&#xA;&lt;p&gt;However, as someone who jumps between frameworks, languages and projects, many past chosen plugins become redundant and forgotten. The last thing anyone needs is technical debt from their IDE, and so I entered a period of using JetBrains IDEs a couple of years ago when my role required me to focus on React.&lt;/p&gt;&#xA;&lt;p&gt;Recently, I stumbled upon Helix IDE at the same time as Nix Flakes, and that spurred the realisation of this powerful but simple setup.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Script to auto-reconnect SSH connections to tmux sessions</title>
      <link>https://808.ninja/coder/script-for-auto-reconnecting-ssh-to-tmux-sessions/</link>
      <pubDate>Mon, 12 May 2025 13:57:43 +0800</pubDate>
      <guid>https://808.ninja/coder/script-for-auto-reconnecting-ssh-to-tmux-sessions/</guid>
      <description>&lt;p&gt;I like the idea of SSH&amp;rsquo;ing into a tmux session when doing work on a remote machine so that I can reconnect right where I left off.&lt;/p&gt;&#xA;&lt;p&gt;However, I don&amp;rsquo;t like it when the internet connection is unstable, and you must reconnect whenever you drop off. Or, when I close my laptop for a couple of hours and open it back up to a crashed terminal emulator. I tried using &lt;code&gt;mosh&lt;/code&gt; as I&amp;rsquo;ve done with IRC before, but I didn&amp;rsquo;t like how the terminal scrolling &amp;amp; copy/paste behaviour was affected unintuitively by mosh &amp;amp; tmux.&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
