User contributions for Weijia
Appearance
28 August 2025
- 19:2319:23, 28 August 2025 diff hist +496 N Translations:Flakes/184/zh Created page with "Flakes 还允许锁定引用和版本,然后通过 inputs {{cite manual|nix|command-ref/new-cli/nix3-flake-lock|number=7.5.19|title=nix flake lock}}{{cite manual|nix|command-ref/new-cli/nix3-flake-info|number=7.5.17|title=nix flake info}} 以可编程方式进行查询和更新。此外,一个实验性的 CLI 实用程序接受 flake 引用作为参数,该引用指向用于构建、运行和部署软件包的表达式。{{Cite manual|nix|command-ref/new-cli/nix|num..." current
- 19:2319:23, 28 August 2025 diff hist −96 Flakes/zh Created page with "Flake 是一个直接包含 <code>flake.nix</code> 文件的目录,该文件内容遵循一种特定结构。Flakes 引入了一种类似 URL 的语法{{Cite manual|nix|command-ref/new-cli/nix3-flake|number=8.5.17|title=nix flake|subsection=url-like-syntax|subtitle=URL-like syntax}} 来指定远程资源。为了简化这种 URL 语法,Flakes 使用符号标识符注册表{{Cite manual|nix|command-ref/new-cli/nix3-registry|number=8.5.62|title=nix registry}},这允..."
- 19:2319:23, 28 August 2025 diff hist +554 N Translations:Flakes/183/zh Created page with "Flake 是一个直接包含 <code>flake.nix</code> 文件的目录,该文件内容遵循一种特定结构。Flakes 引入了一种类似 URL 的语法{{Cite manual|nix|command-ref/new-cli/nix3-flake|number=8.5.17|title=nix flake|subsection=url-like-syntax|subtitle=URL-like syntax}} 来指定远程资源。为了简化这种 URL 语法,Flakes 使用符号标识符注册表{{Cite manual|nix|command-ref/new-cli/nix3-registry|number=8.5.62|title=nix registry}},这允..." current
- 19:2219:22, 28 August 2025 diff hist −105 Flakes/zh Created page with "'''Nix Flakes''' 是 Nix 2.4 版本中首次引入的一项实验性功能{{Cite manual|nix|development/experimental-features|number=13.8|title=Experimental Features|subsection=xp-feature-flakes|subtitle=flakes}}{{Cite manual|nix|release-notes/rl-2.4|number=14.27|title=Release 2.4 (2021-11-01)}},旨在解决 Nix 生态系统许多领域的改进问题:它们为 Nix 项目提供了一个统一结构、允许固定每个依赖项的特..."
- 19:2219:22, 28 August 2025 diff hist +597 N Translations:Flakes/182/zh Created page with "'''Nix Flakes''' 是 Nix 2.4 版本中首次引入的一项实验性功能{{Cite manual|nix|development/experimental-features|number=13.8|title=Experimental Features|subsection=xp-feature-flakes|subtitle=flakes}}{{Cite manual|nix|release-notes/rl-2.4|number=14.27|title=Release 2.4 (2021-11-01)}},旨在解决 Nix 生态系统许多领域的改进问题:它们为 Nix 项目提供了一个统一结构、允许固定每个依赖项的特..."
- 19:2219:22, 28 August 2025 diff hist +30,483 N Flakes/zh Created page with "{{Cleanup}}"
- 19:2219:22, 28 August 2025 diff hist +11 N Translations:Flakes/1/zh Created page with "{{Cleanup}}" current
- 19:2219:22, 28 August 2025 diff hist +6 N Translations:Flakes/Page display title/zh Created page with "Flakes" current
- 19:1619:16, 28 August 2025 diff hist −83 Install NixOS on Amazon EC2/zh Created page with "通过 SSH 连接到新启动的 EC2 实例时,可能会要求输入密码。这似乎是因为 <code>amazon-init</code> systemd 服务仍在读取用户数据。请退出当前的 SSH 连接,并在几分钟后重试。" current
- 19:1619:16, 28 August 2025 diff hist +223 N Translations:Install NixOS on Amazon EC2/11/zh Created page with "通过 SSH 连接到新启动的 EC2 实例时,可能会要求输入密码。这似乎是因为 <code>amazon-init</code> systemd 服务仍在读取用户数据。请退出当前的 SSH 连接,并在几分钟后重试。" current
- 19:1619:16, 28 August 2025 diff hist −14 Install NixOS on Amazon EC2/zh Created page with "=== SSH 要求输入密码 ===" Tags: Mobile edit Mobile web edit
- 19:1619:16, 28 August 2025 diff hist +30 N Translations:Install NixOS on Amazon EC2/10/zh Created page with "=== SSH 要求输入密码 ===" current
- 19:1619:16, 28 August 2025 diff hist −24 Install NixOS on Amazon EC2/zh Created page with "== 故障排除 =="
- 19:1619:16, 28 August 2025 diff hist +18 N Translations:Install NixOS on Amazon EC2/9/zh Created page with "== 故障排除 ==" current
- 19:1519:15, 28 August 2025 diff hist −54 Install NixOS on Amazon EC2/zh Created page with "[http://jackkelly.name/blog/archives/2020/08/30/building_and_importing_nixos_amis_on_ec2/ 在 EC2 上构建和导入 NixOS AMI] 作者:Jack Kelly"
- 19:1519:15, 28 August 2025 diff hist +147 N Translations:Install NixOS on Amazon EC2/8/zh Created page with "[http://jackkelly.name/blog/archives/2020/08/30/building_and_importing_nixos_amis_on_ec2/ 在 EC2 上构建和导入 NixOS AMI] 作者:Jack Kelly" current
- 19:1519:15, 28 August 2025 diff hist −24 Install NixOS on Amazon EC2/zh Created page with "== 其他资源 =="
- 19:1519:15, 28 August 2025 diff hist +18 N Translations:Install NixOS on Amazon EC2/7/zh Created page with "== 其他资源 ==" current
- 19:1519:15, 28 August 2025 diff hist −80 Install NixOS on Amazon EC2/zh Created page with "目前,[https://github.com/nix-community/nixos-generators nixos-generators] 项目是创建您自己的 NixOS AMI 的最佳方法。请遵循 <code>nixos-generators</code> 提供的说明,然后遵循 [https://docs.aws.amazon.com/vm-import/latest/userguide/what-is-vmimport.html AWS 提供的介绍]。"
- 19:1519:15, 28 August 2025 diff hist +306 N Translations:Install NixOS on Amazon EC2/6/zh Created page with "目前,[https://github.com/nix-community/nixos-generators nixos-generators] 项目是创建您自己的 NixOS AMI 的最佳方法。请遵循 <code>nixos-generators</code> 提供的说明,然后遵循 [https://docs.aws.amazon.com/vm-import/latest/userguide/what-is-vmimport.html AWS 提供的介绍]。" current
- 19:1519:15, 28 August 2025 diff hist −20 Install NixOS on Amazon EC2/zh Created page with "== 创建 NixOS AMI =="
- 19:1519:15, 28 August 2025 diff hist +22 N Translations:Install NixOS on Amazon EC2/5/zh Created page with "== 创建 NixOS AMI ==" current
- 19:1519:15, 28 August 2025 diff hist −89 Install NixOS on Amazon EC2/zh Created page with "这些 AMI 的默认用户是 <code>root</code>。没有默认密码,而是使用在 EC2 创建过程中选择的 SSH 密钥进行身份验证。"
- 19:1519:15, 28 August 2025 diff hist +147 N Translations:Install NixOS on Amazon EC2/4/zh Created page with "这些 AMI 的默认用户是 <code>root</code>。没有默认密码,而是使用在 EC2 创建过程中选择的 SSH 密钥进行身份验证。" current
- 19:1419:14, 28 August 2025 diff hist −66 Install NixOS on Amazon EC2/zh Created page with "AWS 上可用的 NixOS AMI 列表位于 [https://github.com/NixOS/nixpkgs/blob/master/nixos/modules/virtualisation/amazon-ec2-amis.nix 此处],更新的列表位于:[https://nixos.github.io/amis/ 此处](参见 [https://discourse.nixos.org/t/ami-for-nixos-23-11/36860/7 此讨论线程])。"
- 19:1419:14, 28 August 2025 diff hist +298 N Translations:Install NixOS on Amazon EC2/3/zh Created page with "AWS 上可用的 NixOS AMI 列表位于 [https://github.com/NixOS/nixpkgs/blob/master/nixos/modules/virtualisation/amazon-ec2-amis.nix 此处],更新的列表位于:[https://nixos.github.io/amis/ 此处](参见 [https://discourse.nixos.org/t/ami-for-nixos-23-11/36860/7 此讨论线程])。" current
- 19:1419:14, 28 August 2025 diff hist −19 Install NixOS on Amazon EC2/zh Created page with "== 公共 NixOS AMIs =="
- 19:1419:14, 28 August 2025 diff hist +23 N Translations:Install NixOS on Amazon EC2/2/zh Created page with "== 公共 NixOS AMIs ==" current
- 19:1419:14, 28 August 2025 diff hist −75 Install NixOS on Amazon EC2/zh Created page with "Amazon EC2 是一个广泛使用的云部署平台,隶属于亚马逊网络服务 (AWS)。NixOS 主要通过 AMI 和 [https://github.com/nix-community/nixos-generators nixos-generators] 项目支持该平台。"
- 19:1419:14, 28 August 2025 diff hist +212 N Translations:Install NixOS on Amazon EC2/1/zh Created page with "Amazon EC2 是一个广泛使用的云部署平台,隶属于亚马逊网络服务 (AWS)。NixOS 主要通过 AMI 和 [https://github.com/nix-community/nixos-generators nixos-generators] 项目支持该平台。" current
- 19:1419:14, 28 August 2025 diff hist +2,264 N Install NixOS on Amazon EC2/zh Created page with "在 Amazon EC2 上安装 NixOS"
- 19:1319:13, 28 August 2025 diff hist +30 N Translations:Install NixOS on Amazon EC2/Page display title/zh Created page with "在 Amazon EC2 上安装 NixOS" current
- 19:0719:07, 28 August 2025 diff hist −58 Honk/zh Created page with "它被记录在 [https://nixos.org/manual/nixos/stable/#module-services-honk NixOS 手册] 中。" current
- 19:0719:07, 28 August 2025 diff hist +97 N Translations:Honk/2/zh Created page with "它被记录在 [https://nixos.org/manual/nixos/stable/#module-services-honk NixOS 手册] 中。" current
- 19:0719:07, 28 August 2025 diff hist −44 Honk/zh Created page with "在 NixOS 上使用 [https://humungus.tedunangst.com/r/honk Honk],您可以以最少的设置步骤快速配置完整的 ActivityPub 服务器。" Tags: Mobile edit Mobile web edit
- 19:0719:07, 28 August 2025 diff hist +147 N Translations:Honk/1/zh Created page with "在 NixOS 上使用 [https://humungus.tedunangst.com/r/honk Honk],您可以以最少的设置步骤快速配置完整的 ActivityPub 服务器。" current
- 19:0719:07, 28 August 2025 diff hist +481 N Honk/zh Created page with "Honk"
- 19:0719:07, 28 August 2025 diff hist +4 N Translations:Honk/Page display title/zh Created page with "Honk" current
- 19:0519:05, 28 August 2025 diff hist −101 Doas/zh Created page with "<syntaxhighlight lang="nix"> security.doas.enable = true; security.sudo.enable = false; security.doas.extraRules = [{ users = ["foo"]; # 可选,在运行命令时保留环境变量 # 例如,在应用配置时保留你的 NIX_PATH keepEnv = true; persist = true; # 可选,在成功验证后,一段时间内无需询问密码 }]; </syntaxhighlight>" Tags: Mobile edit Mobile web edit
- 19:0519:05, 28 August 2025 diff hist +367 N Translations:Doas/6/zh Created page with "<syntaxhighlight lang="nix"> security.doas.enable = true; security.sudo.enable = false; security.doas.extraRules = [{ users = ["foo"]; # 可选,在运行命令时保留环境变量 # 例如,在应用配置时保留你的 NIX_PATH keepEnv = true; persist = true; # 可选,在成功验证后,一段时间内无需询问密码 }]; </syntaxhighlight>" current
- 19:0519:05, 28 August 2025 diff hist −90 Doas/zh Created page with "以下配置将使用户 <code>foo</code> 能够通过 <code>doas</code> 以超级用户身份执行命令,同时禁用 <code>sudo</code> 命令。"
- 19:0519:05, 28 August 2025 diff hist +149 N Translations:Doas/5/zh Created page with "以下配置将使用户 <code>foo</code> 能够通过 <code>doas</code> 以超级用户身份执行命令,同时禁用 <code>sudo</code> 命令。" current
- 19:0519:05, 28 August 2025 diff hist −30 Doas/zh Created page with "== 配置 =="
- 19:0519:05, 28 August 2025 diff hist +12 N Translations:Doas/4/zh Created page with "== 配置 ==" current
- 19:0519:05, 28 August 2025 diff hist +6 Doas/zh No edit summary
- 19:0519:05, 28 August 2025 diff hist +6 Translations:Doas/3/zh No edit summary current
- 19:0419:04, 28 August 2025 diff hist −76 Doas/zh Created page with "基于 Flake 的配置需要将 git 作为系统软件安装才能重构。"
- 19:0419:04, 28 August 2025 diff hist +75 N Translations:Doas/3/zh Created page with "基于 Flake 的配置需要将 git 作为系统软件安装才能重构。"
- 19:0419:04, 28 August 2025 diff hist −69 Doas/zh Created page with "由于与 sudo 的兼容性问题,不建议使用 doas。"
- 19:0419:04, 28 August 2025 diff hist +59 N Translations:Doas/2/zh Created page with "由于与 sudo 的兼容性问题,不建议使用 doas。" current