dotfiles/nix/system/svalbard
2022-08-09 22:54:21 -07:00
..
configuration.nix ensure all networked machines have tmux and ripgrep 2022-08-09 22:54:21 -07:00
hardware-configuration.nix expose storage drive over NFS for the local network 2022-08-09 22:54:21 -07:00
README.md add svalbard system as nas; xp11 becomes server 2022-08-09 17:11:56 -07:00

To set up ZFS on the spinning discs, followed steps derived from these sources (but without encryption):

# DISK=<disk from /dev/disk/by-id>
# POOL=<a name for the pool>
# zpool create "${POOL}" $DISK
# zfs create -o compression=on -o mountpoint=legacy "${POOL}/main"

then added the ZFS filesystem to hardware-configuration.nix (use the zfs created label as the device) and rebooted.

Don't forget to chown the mounted system so that non-root can read/write there.