WIP
This commit is contained in:
@@ -74,11 +74,10 @@
|
|||||||
osds-site = {
|
osds-site = {
|
||||||
layers = [
|
layers = [
|
||||||
{
|
{
|
||||||
# path = ./nixos-apps/ewanick.com;
|
path = ./nixos-apps/ewanick.com;
|
||||||
# pathString = "nixos-apps/ewanick.com";
|
pathString = "nixos-apps/ewanick.com";
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
baseUrl = "ewanick.com";
|
|
||||||
port = 5567;
|
port = 5567;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -5,11 +5,12 @@
|
|||||||
|
|
||||||
./cutesealfanpage.love.nix
|
./cutesealfanpage.love.nix
|
||||||
|
|
||||||
# ./ewanick.com.nix
|
./ewanick.com.nix
|
||||||
./git.ewanick.com.nix
|
./git.ewanick.com.nix
|
||||||
# ./paperless.ewanick.com.nix
|
|
||||||
|
|
||||||
./fancytypist.com.nix
|
./fancytypist.com.nix
|
||||||
|
|
||||||
|
# ./paperless.ewanick.com.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
# when in doubt, clear away the certs with
|
# when in doubt, clear away the certs with
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
PROJECT_ROOT = "/workspace/deployed-nixos-server-and-apps/nixos-apps/ewanick.com";
|
PROJECT_ROOT = "/workspace/deployed-nixos-server-and-apps/nixos-apps/ewanick.com";
|
||||||
HOST = "localhost";
|
HOST = "localhost";
|
||||||
PORT = 5567;
|
PORT = 5567;
|
||||||
emanote-version = "1.4.0";
|
emanote-version = "1.4.0.0";
|
||||||
in {
|
in {
|
||||||
services.caddy = {
|
services.caddy = {
|
||||||
enable = true;
|
enable = true;
|
||||||
@@ -17,17 +17,18 @@ in {
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
systemd.services = {
|
systemd.user.services = {
|
||||||
ewanick-site = {
|
ewanick-site = {
|
||||||
enable = true;
|
enable = true;
|
||||||
description = "A blog powered by Emanote running solely on Markdown files.";
|
description = "A blog powered by Emanote running solely on Markdown files.";
|
||||||
path = with pkgs; [
|
path = with pkgs; [nix git];
|
||||||
nix
|
wantedBy = ["multi-user.target"];
|
||||||
git
|
|
||||||
];
|
|
||||||
script = ''
|
script = ''
|
||||||
cd ${PROJECT_ROOT}
|
cd ${PROJECT_ROOT}
|
||||||
nix run github:srid/emanote/${emanote-version} -- run --port ${PORT} --host ${HOST}
|
nix run github:srid/emanote/${emanote-version} \
|
||||||
|
-- run \
|
||||||
|
--port ${PORT} \
|
||||||
|
--host ${HOST}
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -35,7 +35,7 @@ in {
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
systemd.services = {
|
systemd.user.services = {
|
||||||
fancyTypistDotDev-site = {
|
fancyTypistDotDev-site = {
|
||||||
enable = false;
|
enable = false;
|
||||||
description = "The Haskell Servant executable server that hosts my FancyTypist.dev site.";
|
description = "The Haskell Servant executable server that hosts my FancyTypist.dev site.";
|
||||||
|
|||||||
Reference in New Issue
Block a user