Compare commits
2 Commits
7484900126
...
848045e349
Author | SHA1 | Date |
---|---|---|
Bill Ewanick | 848045e349 | |
Bill Ewanick | 57a90c89e7 |
|
@ -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 ${PROJECT_ROOT}/cutesealfanpage.love; nix run .#hakyll-site -- watch --no-server";
|
ExecStart = "cd /workspace/deployed-nixos-server-and-apps/nixos-apps/cutesealfanpage.love; ./hakyll-site";
|
||||||
};
|
};
|
||||||
# script = ''
|
# script = ''
|
||||||
# cd ${PROJECT_ROOT}/cutesealfanpage.love
|
# cd ${PROJECT_ROOT}/cutesealfanpage.love
|
||||||
|
@ -34,10 +34,9 @@ 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";
|
||||||
script = ''
|
serviceConfig = {
|
||||||
cd ${PROJECT_ROOT}/cutesealfanpage.love
|
ExecStart = "cd /workspace/deployed-nixos-server-and-apps/nixos-apps/cutesealfanpage.love; ./generatePosts";
|
||||||
${pkgs.nix}/bin/nix run .#generateSealPosts
|
};
|
||||||
'';
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -17,11 +17,7 @@
|
||||||
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 {
|
||||||
|
|
|
@ -0,0 +1,2 @@
|
||||||
|
cd /workspace/deployed-nixos-server-and-apps/nixos-apps/cutesealfanpage.love
|
||||||
|
nix run .#generateSealPosts
|
|
@ -0,0 +1,2 @@
|
||||||
|
cd /workspace/deployed-nixos-server-and-apps/nixos-apps/cutesealfanpage.love
|
||||||
|
nix run .#hakyll-site -- watch --no-server
|
Loading…
Reference in New Issue