<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title>Security on Cat in a Shell</title>
		<link>https://catinashell.de/tags/security/</link>
		<description>Recent content in Security on Cat in a Shell</description>
		<generator>Hugo</generator>
		<language>en-us</language>
		
		
		
		
			<lastBuildDate>Fri, 26 Jun 2026 15:15:56 +0200</lastBuildDate>
		
			<atom:link href="https://catinashell.de/tags/security/index.xml" rel="self" type="application/rss+xml" />
			<item>
				<title>Nix Impermanence NoExec Root</title>
				<link>https://catinashell.de/posts/nix-impermanence-noexec-root/</link>
				<pubDate>Fri, 26 Jun 2026 15:15:56 +0200</pubDate>
				<guid>https://catinashell.de/posts/nix-impermanence-noexec-root/</guid>
				<description>&lt;p&gt;An impermanent NixOS Setup is something, I personally I really enjoy, as I don&amp;rsquo;t like preserving everything on my system forever &amp;hellip; Persistence Opt-In is the best approach.&lt;/p&gt;&#xA;&lt;p&gt;And recently I came across a nice Blog about hardening NixOS from &lt;a href=&#34;https://xeiaso.net/blog/paranoid-nixos-2021-07-18/&#34; target=&#34;_blank&#34; rel=&#34;noopener&#34;&gt;Xe Iaso&amp;rsquo;s blog&lt;/a&gt;. And well one thing especially seemed cool, so I wanted to share it.&lt;/p&gt;&#xA;&lt;h2 id=&#34;noexec-for-the-root-fs&#34;&gt;NoExec for the Root FS&lt;/h2&gt;&#xA;&lt;p&gt;At the bottom of the blog is a part about having &lt;code&gt;noexec&lt;/code&gt; for the root fs (which is a tmpfs anyway). Since all programs in NixOS life anyway in &lt;code&gt;/nix/store&lt;/code&gt; and &lt;code&gt;/nix&lt;/code&gt; is its own partition in the typical Impermancence Setup (I won&amp;rsquo;t talk about how to this now, as there are already many good blogs discussing this, and showing how it&amp;rsquo;s done; if you want to see my own setup, check &lt;a href=&#34;https://codeberg.org/slayernominee/mynixos&#34; target=&#34;_blank&#34; rel=&#34;noopener&#34;&gt;my Codeberg out&lt;/a&gt;).&#xA;So only the &lt;code&gt;/nix&lt;/code&gt; parititon needs to be mounted without &lt;code&gt;noexec&lt;/code&gt;, the rest can be &lt;mark&gt;&lt;code&gt;noexec&lt;/code&gt;&lt;/mark&gt;.&lt;/p&gt;</description>
			</item>
	</channel>
</rss>
