diff options
author | William Carroll <wpcarro@gmail.com> | 2020-03-08T19·11+0000 |
---|---|---|
committer | William Carroll <wpcarro@gmail.com> | 2020-03-08T19·11+0000 |
commit | 9b49731c02ec606049894e276b3651ea721cd429 (patch) | |
tree | 5969903081a720d59ce3084f8362c148e6df2011 /nixos | |
parent | a9bd18c44042d89c764c9700686b43a4a6d7e3c3 (diff) |
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.
Diffstat (limited to 'nixos')
-rw-r--r-- | nixos/socrates/configuration.nix | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/nixos/socrates/configuration.nix b/nixos/socrates/configuration.nix index fbdff3f50f6b..2cf23e48e67e 100644 --- a/nixos/socrates/configuration.nix +++ b/nixos/socrates/configuration.nix @@ -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; |