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:
parent
a9bd18c440
commit
9b49731c02
1 changed files with 3 additions and 1 deletions
|
@ -147,7 +147,9 @@ in {
|
||||||
"learn.wpcarro.dev" = {
|
"learn.wpcarro.dev" = {
|
||||||
addSSL = true;
|
addSSL = true;
|
||||||
enableACME = 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" = {
|
"blog.wpcarro.dev" = {
|
||||||
addSSL = true;
|
addSSL = true;
|
||||||
|
|
Loading…
Reference in a new issue