1
1
Fork 0

Remove dead projects

main
Bill Ewanick 2025-07-20 20:42:18 -04:00
parent c7a049b3c8
commit e89457874c
4 changed files with 4 additions and 50 deletions

View File

@ -10,8 +10,6 @@
# ./paperless.ewanick.com.nix # ./paperless.ewanick.com.nix
./fancytypist.com.nix ./fancytypist.com.nix
./ottawa-swing-dance-society-website.nix
]; ];
# when in doubt, clear away the certs with # when in doubt, clear away the certs with

View File

@ -23,7 +23,10 @@ in
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; [ nix git ]; path = with pkgs; [
nix
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}

View File

@ -57,18 +57,5 @@ in
nix run .#fancyTypistDotDev-site nix run .#fancyTypistDotDev-site
''; '';
}; };
osdsFancyTypistSubdomain-site = {
enable = true;
description = "Emanote site running the OSDS content.";
path = with pkgs; [
nix
git
];
script = ''
cd ${PROJECT_ROOT}
nix run .#osdsFancyTypistSubdomain-site
'';
};
}; };
} }

View File

@ -1,34 +0,0 @@
{ pkgs, ... }:
let
PROJECT_ROOT = "/workspace/deployed-nixos-server-and-apps/nixos-apps/ottawa-swing-dance-society-website";
PORT = "4232";
HOST = "localhost";
in
{
services.caddy = {
enable = true;
virtualHosts = {
"osds.fancytypist.dev" = {
extraConfig = ''
reverse_proxy ${HOST}:${PORT}
'';
};
};
};
systemd.services = {
ewanick-site = {
enable = true;
description = "A blog powered by Emanote running solely on Markdown files.";
path = with pkgs; [ nix git ];
script = ''
cd ${PROJECT_ROOT}
nix run github:srid/emanote --accept-flake-config \
-- run \
--port ${PORT} \
--host ${HOST}
'';
};
};
}