Trying something new with service
parent
ae69018842
commit
2d9612bb03
|
@ -21,18 +21,26 @@ in
|
|||
cutesealfanpage-hakyll-site = {
|
||||
enable = true;
|
||||
description = "The hakyll executable that rebuilds the site when a new blog post is created.";
|
||||
serviceConfig = {
|
||||
ExecStart = "cd /workspace/deployed-nixos-server-and-apps/nixos-apps/cutesealfanpage.love; ./hakyll-site";
|
||||
};
|
||||
script = ''
|
||||
cd /workspace/deployed-nixos-server-and-apps/nixos-apps/cutesealfanpage.love
|
||||
nix run .#hakyll-site
|
||||
'';
|
||||
# serviceConfig = {
|
||||
# ExecStart = "cd /workspace/deployed-nixos-server-and-apps/nixos-apps/cutesealfanpage.love; ./hakyll-site";
|
||||
# };
|
||||
};
|
||||
|
||||
cutesealfanpage-generatePosts = {
|
||||
enable = true;
|
||||
description = "The haskell script that creates the new post of the day.";
|
||||
startAt = "08:12:42";
|
||||
serviceConfig = {
|
||||
ExecStart = "cd /workspace/deployed-nixos-server-and-apps/nixos-apps/cutesealfanpage.love; ./generatePosts";
|
||||
};
|
||||
script = ''
|
||||
cd /workspace/deployed-nixos-server-and-apps/nixos-apps/cutesealfanpage.love
|
||||
nix run .#generateSealPosts
|
||||
'';
|
||||
# serviceConfig = {
|
||||
# ExecStart = "cd /workspace/deployed-nixos-server-and-apps/nixos-apps/cutesealfanpage.love; ./generatePosts";
|
||||
# };
|
||||
};
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in New Issue