1
1
Fork 0

Fix missing function call, update child site

main
Bill Ewanick 2023-10-08 12:33:16 -04:00
parent 2d83fae67f
commit 5fac56ecb3
2 changed files with 5 additions and 3 deletions

@ -1 +1 @@
Subproject commit 1cd499efa18470f4f1a9caa4033265c93bb5942b Subproject commit 91ceedebe9db1c46f333f99805f502363810dd08

View File

@ -1,3 +1,5 @@
{ pkgs, ... }:
let let
PROJECT_ROOT = "/workspace/deployed-nixos-server-and-apps/nixos-apps/fancytypist.dev"; PROJECT_ROOT = "/workspace/deployed-nixos-server-and-apps/nixos-apps/fancytypist.dev";
PORT = "12513"; PORT = "12513";
@ -31,13 +33,13 @@ in
}; };
systemd.services = { systemd.services = {
fancyTypist.dev-site = { fancyTypistDotDev-site = {
enable = true; enable = true;
description = "The Haskell Servant executable server that hosts my FancyTypist.dev site."; description = "The Haskell Servant executable server that hosts my FancyTypist.dev site.";
path = with pkgs; [ nix git ]; path = with pkgs; [ nix git ];
script = '' script = ''
cd ${PROJECT_ROOT} cd ${PROJECT_ROOT}
nix run .#fancyTypist.dev-site nix run .#fancyTypistDotDev-site
''; '';
}; };
}; };