1
1

Fix missing function call, update child site

This commit is contained in:
2023-10-08 12:33:16 -04:00
parent 2d83fae67f
commit 5fac56ecb3
2 changed files with 5 additions and 3 deletions

View File

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