<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Chen Pan</title><link>https://panc.codeberg.page/</link><description>Recent content on Chen Pan</description><generator>Hugo</generator><language>zh-CN</language><lastBuildDate>Tue, 23 Jun 2026 23:29:55 +0800</lastBuildDate><atom:link href="https://panc.codeberg.page/index.xml" rel="self" type="application/rss+xml"/><item><title>在 Fedora 上使用 Nix</title><link>https://panc.codeberg.page/posts/%E5%9C%A8fedora%E4%B8%8A%E4%BD%BF%E7%94%A8nix/</link><pubDate>Tue, 23 Jun 2026 23:29:55 +0800</pubDate><guid>https://panc.codeberg.page/posts/%E5%9C%A8fedora%E4%B8%8A%E4%BD%BF%E7%94%A8nix/</guid><description>&lt;h2 id="介绍"&gt;介绍&lt;/h2&gt;
&lt;p&gt;&lt;a href="https://nixos.org/"&gt;Nix&lt;/a&gt; 是一个在软件包管理和系统配置方面采用独特方法的工具。官方生成使用 Nix 可以构建可重复、可声明式且可靠的系统。&lt;/p&gt;
&lt;h2 id="安装"&gt;安装&lt;/h2&gt;
&lt;p&gt;在 Fedora 上安装 Nix 上安装很容易，我这里不使用 Nix 官网提供的脚本进行安装，而是直接使用 Fedora 的包管理器进行安装，执行以下命令即可安装然后立即启动：&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"&gt;&lt;code class="language-sh" data-lang="sh"&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;sudo dnf install nix nix-daemon
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;sudo systemctl enable --now nix-daemon
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;检查是否安装成功，可以试试查看 Nix 的版本:&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"&gt;&lt;code class="language-sh" data-lang="sh"&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;panc@fedora ~&amp;gt; nix --version
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;nix &lt;span style="color:#f92672"&gt;(&lt;/span&gt;Nix&lt;span style="color:#f92672"&gt;)&lt;/span&gt; 2.34.7
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;</description></item><item><title>Contact</title><link>https://panc.codeberg.page/contact/</link><pubDate>Sat, 02 May 2026 16:20:42 +0800</pubDate><guid>https://panc.codeberg.page/contact/</guid><description>&lt;p&gt;&lt;a href="https://codeberg.org/panc"&gt;&lt;img src="https://img.shields.io/badge/Codeberg-panc-2185D0?style=flat-square&amp;amp;logo=codeberg" alt="Codeberg"&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://github.com/pan0xc"&gt;&lt;img src="https://img.shields.io/badge/GitHub-pan0xc-181717?style=flat-square&amp;amp;logo=github" alt="GitHub"&gt;&lt;/a&gt;&lt;/p&gt;
&lt;hr&gt;
&lt;p&gt;📧 Email: &lt;strong&gt;&lt;a href="mailto:pan0xc@foxmail.com"&gt;pan0xc@foxmail.com&lt;/a&gt;&lt;/strong&gt;&lt;/p&gt;</description></item><item><title>About</title><link>https://panc.codeberg.page/about/</link><pubDate>Sat, 02 May 2026 16:20:25 +0800</pubDate><guid>https://panc.codeberg.page/about/</guid><description>&lt;h1 id="chen-pan"&gt;Chen Pan&lt;/h1&gt;
&lt;p&gt;China&lt;/p&gt;
&lt;p&gt;Glad to see you here :-)&lt;/p&gt;</description></item><item><title>Hello</title><link>https://panc.codeberg.page/posts/hello/</link><pubDate>Sat, 02 May 2026 13:27:46 +0800</pubDate><guid>https://panc.codeberg.page/posts/hello/</guid><description>&lt;p&gt;这是我的第一篇博客 🚀&lt;/p&gt;</description></item></channel></rss>