Compare commits
No commits in common. "848045e34993c921bcd51f4a87219c3c6cbf8053" and "7484900126cea153eaf41a53ad0f28fcdf50ced2" have entirely different histories.
848045e349
...
7484900126
|
@ -22,7 +22,7 @@ in
|
||||||
enable = true;
|
enable = true;
|
||||||
description = "The hakyll executable that rebuilds the site when a new blog post is created.";
|
description = "The hakyll executable that rebuilds the site when a new blog post is created.";
|
||||||
serviceConfig = {
|
serviceConfig = {
|
||||||
ExecStart = "cd /workspace/deployed-nixos-server-and-apps/nixos-apps/cutesealfanpage.love; ./hakyll-site";
|
ExecStart = "cd ${PROJECT_ROOT}/cutesealfanpage.love; nix run .#hakyll-site -- watch --no-server";
|
||||||
};
|
};
|
||||||
# script = ''
|
# script = ''
|
||||||
# cd ${PROJECT_ROOT}/cutesealfanpage.love
|
# cd ${PROJECT_ROOT}/cutesealfanpage.love
|
||||||
|
@ -34,9 +34,10 @@ in
|
||||||
enable = true;
|
enable = true;
|
||||||
description = "The haskell script that creates the new post of the day.";
|
description = "The haskell script that creates the new post of the day.";
|
||||||
startAt = "08:12:42";
|
startAt = "08:12:42";
|
||||||
serviceConfig = {
|
script = ''
|
||||||
ExecStart = "cd /workspace/deployed-nixos-server-and-apps/nixos-apps/cutesealfanpage.love; ./generatePosts";
|
cd ${PROJECT_ROOT}/cutesealfanpage.love
|
||||||
};
|
${pkgs.nix}/bin/nix run .#generateSealPosts
|
||||||
|
'';
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -17,7 +17,11 @@
|
||||||
pkgs = nixpkgs.legacyPackages.${system};
|
pkgs = nixpkgs.legacyPackages.${system};
|
||||||
|
|
||||||
ghc' = pkgs.haskellPackages.ghcWithHoogle (self: with self; [
|
ghc' = pkgs.haskellPackages.ghcWithHoogle (self: with self; [
|
||||||
|
dhall
|
||||||
hakyll
|
hakyll
|
||||||
|
neat-interpolation
|
||||||
|
random
|
||||||
|
split
|
||||||
]);
|
]);
|
||||||
in
|
in
|
||||||
rec {
|
rec {
|
||||||
|
|
|
@ -1,2 +0,0 @@
|
||||||
cd /workspace/deployed-nixos-server-and-apps/nixos-apps/cutesealfanpage.love
|
|
||||||
nix run .#generateSealPosts
|
|
|
@ -1,2 +0,0 @@
|
||||||
cd /workspace/deployed-nixos-server-and-apps/nixos-apps/cutesealfanpage.love
|
|
||||||
nix run .#hakyll-site -- watch --no-server
|
|
Loading…
Reference in New Issue