Remove emanote from everything

This commit is contained in:
Bill Ewanick 2026-01-12 00:07:36 -05:00
parent 4a38f29273
commit 536bf095b9

View file

@ -1,9 +1,8 @@
{pkgs, ...}: let
description = "A blog powered by Emanote running solely on Markdown files.";
description = "A future blog powered running solely on Markdown files.";
PROJECT_ROOT = "/workspace/deployed-nixos-server-and-apps/nixos-apps/ewanick.com";
HOST = "localhost";
PORT = 5567;
emanote-version = "1.4.0.0";
in {
services.caddy = {
enable = true;
@ -16,20 +15,4 @@ in {
};
};
};
systemd.services = {
ewanick-site = {
enable = true;
description = "A blog powered by Emanote running solely on Markdown files.";
path = with pkgs; [nix git];
wantedBy = ["multi-user.target"];
script = ''
cd ${PROJECT_ROOT}
nix run github:srid/emanote/${emanote-version} \
-- run \
--port ${toString PORT} \
--host ${HOST}
'';
};
};
}