diff --git a/docs/Getting Started/NixOS/index.rst b/docs/Getting Started/NixOS/index.rst index 14341a2..71c75d9 100644 --- a/docs/Getting Started/NixOS/index.rst +++ b/docs/Getting Started/NixOS/index.rst @@ -28,33 +28,30 @@ Note: this is for installing ZFS on an existing NixOS installation. To use ZFS as root file system, see below. -Live image ships with ZFS support by default. +NixOS live image ships with ZFS support by default. Note that you need to apply these settings even if you don't need to boot from ZFS. The kernel module 'zfs.ko' will not be available to modprobe until you make these changes and reboot. -#. Import separate configration file for ZFS options:: +#. Edit ``/etc/nixos/configuration.nix`` and add the following + options:: - vim /etc/nixos/configuration.nix - ##add './zfs.nix' to 'imports' - # imports = [ ./zfs.nix ]; + boot.supportedFilesystems = [ "zfs" ]; + boot.zfs.forceImportRoot = false; + networking.hostId = "yourHostId"; -#. Configure ZFS options:: + Where hostID can be generated with:: - tee -a /etc/nixos/zfs.nix <