Skip to content

Instantly share code, notes, and snippets.

@grahamc
Created August 11, 2018 14:21
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 grahamc/9bbeda7279fb9b1109ef30998e363462 to your computer and use it in GitHub Desktop.
Save grahamc/9bbeda7279fb9b1109ef30998e363462 to your computer and use it in GitHub Desktop.
{
webserver =
{ deployment.targetEnv = "virtualbox";
services.httpd.enable = true;
services.httpd.documentRoot = "/data";
nixpkgs.system = "aarch64-linux";
fileSystems."/data" =
{ fsType = "nfs4";
device = "fileserver:/"; };
};
fileserver =
{ deployment.targetEnv = "virtualbox";
services.nfs.server.enable = true;
services.nfs.server.exports = "...";
};
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment