Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

NixOS module options

See this section for high-level documentation on how to import and use the magicnixvfs module in your system.

boot.magicnixvfs.enable

Whether to enable Enable booting using Magic Nix VFS.

Type: boolean

Default:

false

Example:

true

Declared by:

boot.magicnixvfs.package

Magic Nix VFS package to use for booting.

Type: package

Default:

<derivation magicnixvfs-0.1.0>

Declared by:

boot.magicnixvfs.caches

URIs of Nix binary caches

Type: list of string

Default:

[
  "https://cache.nixos.org/"
]

Example:

''
  [ "https://cache.nixos.org" ]
''

Declared by:

boot.magicnixvfs.dnsPreResolve

Whether to resolve hostnames of cache servers when mounting, instead of when they are used.

Use this if you are booting from the network. Nameservers must be accessible in the initrd when magicnixvfs is mounted.

Type: boolean

Default:

false

Declared by:

boot.magicnixvfs.statePath

Magic Nix local state directory, can be a tmpfs or a disk partition.

Make sure that the mountpoint that contains this path has the neededForBoot = true configuration option.

Type: string

Default:

"/var/lib/magicnixvfs"

Declared by:

boot.magicnixvfs.trustedPublicKeys

Trusted public keys of Nix binary caches

Type: list of string

Default:

[
  "cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY="
]

Example:

''
  [ "cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=" ]
''

Declared by: