Use static directory path as root for learn.wpcarro.dev

With this simple change, Nix should copy the static directory and all of its
contents to /nix/store and return the path to that directory.

See TODO for more what I would have liked to do ideally.
This commit is contained in:
William Carroll 2020-03-08 19:11:10 +00:00
parent a9bd18c440
commit 9b49731c02

View file

@ -147,7 +147,9 @@ in {
"learn.wpcarro.dev" = {
addSSL = true;
enableACME = true;
root = "/var/www/learn";
# TODO(wpcarro): Prefer creating a default.nix in //learn and using
# briefcase.learn as root.
root = ~/briefcase/learn/static;
};
"blog.wpcarro.dev" = {
addSSL = true;