Fix missing function call, update child site
parent
2d83fae67f
commit
5fac56ecb3
|
@ -1 +1 @@
|
|||
Subproject commit 1cd499efa18470f4f1a9caa4033265c93bb5942b
|
||||
Subproject commit 91ceedebe9db1c46f333f99805f502363810dd08
|
|
@ -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
|
||||
'';
|
||||
};
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue