From 824d4919fc0d4a5a2d3ecad7cad80fdd50a75cf3 Mon Sep 17 00:00:00 2001 From: Jean-Paul Calderone <exarkun@twistedmatrix.com> Date: Tue, 5 Nov 2019 08:56:43 -0500 Subject: [PATCH] Get zfs --- morph/README.rst | 1 + morph/testing001-hardware.nix | 2 ++ 2 files changed, 3 insertions(+) diff --git a/morph/README.rst b/morph/README.rst index 6fd00a93..3bb77dca 100644 --- a/morph/README.rst +++ b/morph/README.rst @@ -52,6 +52,7 @@ starting from a minimal NixOS 19.03 or 19.09 installation. #. Copy ``/etc/nixos/hardware-configuration.nix`` to ``storageNNN-hardware.nix``. In the case of an EC2 instance, copy ``/etc/nixos/configuration.nix`` instead. +#. Add ``"zfs"`` to ``boot.supportedFilesystems`` in ``storageNNN-hardware.nix``. #. Create a ``storageNNN-config.nix`` containing further configuration for the new host. #. Add an entry for the new host to ``grid.nix`` referencing the new files. diff --git a/morph/testing001-hardware.nix b/morph/testing001-hardware.nix index 9c79ca12..c00834cf 100644 --- a/morph/testing001-hardware.nix +++ b/morph/testing001-hardware.nix @@ -2,4 +2,6 @@ imports = [ <nixpkgs/nixos/modules/virtualisation/amazon-image.nix> ]; ec2.hvm = true; + boot.supportedFilesystems = [ "zfs" ]; + networking.hostId = "10000000"; } -- GitLab