Don't use relative paths
parent
f0c1084b14
commit
1643aaf283
|
@ -10,7 +10,7 @@ in
|
||||||
"cutesealfanpage.love" = {
|
"cutesealfanpage.love" = {
|
||||||
serverAliases = [ "www.cutesealfanpage.love" ];
|
serverAliases = [ "www.cutesealfanpage.love" ];
|
||||||
extraConfig = ''
|
extraConfig = ''
|
||||||
root * ../cutesealfanpage.love/_site
|
root * ${PROJECT_ROOT}/cutesealfanpage.love/_site
|
||||||
file_server
|
file_server
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
@ -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 ../cutesealfanpage.love; nix run .#hakyll-site -- watch --no-server";
|
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
|
||||||
|
@ -35,7 +35,7 @@ in
|
||||||
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 = ''
|
script = ''
|
||||||
cd ../cutesealfanpage.love
|
cd ${PROJECT_ROOT}/cutesealfanpage.love
|
||||||
${pkgs.nix}/bin/nix run .#generateSealPosts
|
${pkgs.nix}/bin/nix run .#generateSealPosts
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue