Skip to content

Instantly share code, notes, and snippets.

@natanlao
Created April 26, 2021 02:53
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save natanlao/411ca6567540fc4aa0b2facbf257a3e0 to your computer and use it in GitHub Desktop.
Save natanlao/411ca6567540fc4aa0b2facbf257a3e0 to your computer and use it in GitHub Desktop.
Notes on mounting an external ZFS pool with NixOS
Going to come back to this at some point far in the future, forgot to keep track while I was doing it.
1. Add `zfs` to `environment.systemPackages`
2. Set `networking.hostId`, do `boot.supportedFilesystems = [ "zfs" ];`
3. Force import pool
4. Reboot
5. Things work
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment