.. highlight:: sh NixOS ===== Contents -------- .. toctree:: :maxdepth: 1 :glob: * Support ------- Reach out to the community using the :ref:`mailing_lists` or IRC at `#zfsonlinux `__ on `Libera Chat `__. If you have a bug report or feature request related to this HOWTO, please `file a new issue and mention @ne9z `__. Installation ------------ 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. 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:: vim /etc/nixos/configuration.nix ##add './zfs.nix' to 'imports' # imports = [ ./zfs.nix ]; #. Configure ZFS options:: tee -a /etc/nixos/zfs.nix <