<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.nixos.org/w/index.php?action=history&amp;feed=atom&amp;title=Translations%3ADoas%2F6%2Fzh</id>
	<title>Translations:Doas/6/zh - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.nixos.org/w/index.php?action=history&amp;feed=atom&amp;title=Translations%3ADoas%2F6%2Fzh"/>
	<link rel="alternate" type="text/html" href="https://wiki.nixos.org/w/index.php?title=Translations:Doas/6/zh&amp;action=history"/>
	<updated>2026-04-07T13:09:40Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.45.0</generator>
	<entry>
		<id>https://wiki.nixos.org/w/index.php?title=Translations:Doas/6/zh&amp;diff=25499&amp;oldid=prev</id>
		<title>Weijia: Created page with &quot;&lt;syntaxhighlight lang=&quot;nix&quot;&gt; security.doas.enable = true; security.sudo.enable = false; security.doas.extraRules = [{   users = [&quot;foo&quot;];   # 可选，在运行命令时保留环境变量    # 例如，在应用配置时保留你的 NIX_PATH   keepEnv = true;    persist = true;  # 可选，在成功验证后，一段时间内无需询问密码 }]; &lt;/syntaxhighlight&gt;&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.nixos.org/w/index.php?title=Translations:Doas/6/zh&amp;diff=25499&amp;oldid=prev"/>
		<updated>2025-08-28T19:05:22Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;&amp;lt;syntaxhighlight lang=&amp;quot;nix&amp;quot;&amp;gt; security.doas.enable = true; security.sudo.enable = false; security.doas.extraRules = [{   users = [&amp;quot;foo&amp;quot;];   # 可选，在运行命令时保留环境变量    # 例如，在应用配置时保留你的 NIX_PATH   keepEnv = true;    persist = true;  # 可选，在成功验证后，一段时间内无需询问密码 }]; &amp;lt;/syntaxhighlight&amp;gt;&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;&amp;lt;syntaxhighlight lang=&amp;quot;nix&amp;quot;&amp;gt;&lt;br /&gt;
security.doas.enable = true;&lt;br /&gt;
security.sudo.enable = false;&lt;br /&gt;
security.doas.extraRules = [{&lt;br /&gt;
  users = [&amp;quot;foo&amp;quot;];&lt;br /&gt;
  # 可选，在运行命令时保留环境变量 &lt;br /&gt;
  # 例如，在应用配置时保留你的 NIX_PATH&lt;br /&gt;
  keepEnv = true; &lt;br /&gt;
  persist = true;  # 可选，在成功验证后，一段时间内无需询问密码&lt;br /&gt;
}];&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;/div&gt;</summary>
		<author><name>Weijia</name></author>
	</entry>
</feed>