Skip to main content
Ctrl+K
nix.dev

使用 Nix 完成工作的官方文件。

Ctrl+K
  • 安裝 Nix
  • 教學
    • 第一步
      • Ad hoc shell environments
      • Reproducible interpreted scripts
      • 宣告式外殼環境
      • Towards reproducibility: pinning Nixpkgs
    • Nix 語言基礎
    • 打包現有軟體
    • Package parameters and overrides with callPackage
    • Working with local files
    • 交叉編譯
    • 模組系統
      • 1. A basic module
      • 2. Module system deep dive
    • NixOS
      • NixOS 虛擬機
      • 建置可開機的 ISO 映像
      • 建置並執行 Docker 映像
      • 使用 NixOS 虛擬機進行整合測試
      • Provisioning remote machines via SSH
      • 在 Raspberry Pi 上安裝 NixOS
      • 使用 Terraform 部署 NixOS
      • Setting up an HTTP binary cache
      • Setting up distributed builds
  • 指南
    • Recipes
      • Configure Nix to use a custom binary cache
      • 自動化環境
      • 開發外殼中的相依項
      • Managing remote sources
      • Python 開發環境
      • Setting up post-build hooks
      • Continuous integration with GitHub Actions
    • 最佳實踐
    • 疑難排解
    • 常見問題集
  • 參考
    • 詞彙表
    • Nix 參考手冊
      • Nix pre-release (development)
      • Nix @nix-latest@ (latest)
      • Nix @nix-rolling@ (in Nixpkgs rolling)
      • Nix @nix-stable@ (in Nixpkgs @nixpkgs-stable@)
      • Nix @nix-prev-stable@ (in Nixpkgs @nixpkgs-prev-stable@)
    • Nixpkgs 手冊
    • NixOS 手冊
    • 社群專案
    • 支援工具
    • 延伸閱讀
    • Pinning Nixpkgs
  • 概念
    • Flakes
    • 常見問題集
  • 貢獻
    • 如何貢獻
    • How to get help
    • 貢獻文件
      • Documentation resources
      • Documentation framework
      • Style guide
      • How to write a tutorial
  • Acknowledgements

nix.dev as PDF

  • .md

NixOS

目錄

  • 建立 NixOS 映像
  • 測試並部署 NixOS 組態
  • Scaling up

NixOS#

學習如何組態、測試,以及安裝或部署 NixOS。

建立 NixOS 映像#

  • NixOS 虛擬機

  • 建置可開機的 ISO 映像

  • 建置並執行 Docker 映像

測試並部署 NixOS 組態#

  • 使用 NixOS 虛擬機進行整合測試

  • Provisioning remote machines via SSH

  • 在 Raspberry Pi 上安裝 NixOS

  • 使用 Terraform 部署 NixOS

Scaling up#

  • Setting up an HTTP binary cache

  • Setting up distributed builds

上一頁

2. Module system deep dive

下一頁

NixOS 虛擬機

目錄
  • 建立 NixOS 映像
  • 測試並部署 NixOS 組態
  • Scaling up

作者: the Nix documentation team and contributors.

© Copyright 2016-2026, NixOS Foundation.