Skip to content
Snippets Groups Projects
Commit 824d4919 authored by Jean-Paul Calderone's avatar Jean-Paul Calderone
Browse files

Get zfs

parent e23cbbde
Branches
No related tags found
Loading
...@@ -52,6 +52,7 @@ starting from a minimal NixOS 19.03 or 19.09 installation. ...@@ -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``. #. Copy ``/etc/nixos/hardware-configuration.nix`` to ``storageNNN-hardware.nix``.
In the case of an EC2 instance, copy ``/etc/nixos/configuration.nix`` instead. 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. #. 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. #. Add an entry for the new host to ``grid.nix`` referencing the new files.
......
...@@ -2,4 +2,6 @@ ...@@ -2,4 +2,6 @@
imports = [ <nixpkgs/nixos/modules/virtualisation/amazon-image.nix> ]; imports = [ <nixpkgs/nixos/modules/virtualisation/amazon-image.nix> ];
ec2.hvm = true; ec2.hvm = true;
boot.supportedFilesystems = [ "zfs" ];
networking.hostId = "10000000";
} }
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment