Remove dead projects
parent
c7a049b3c8
commit
e89457874c
|
@ -10,8 +10,6 @@
|
|||
# ./paperless.ewanick.com.nix
|
||||
|
||||
./fancytypist.com.nix
|
||||
|
||||
./ottawa-swing-dance-society-website.nix
|
||||
];
|
||||
|
||||
# when in doubt, clear away the certs with
|
||||
|
|
|
@ -23,7 +23,10 @@ in
|
|||
ewanick-site = {
|
||||
enable = true;
|
||||
description = "A blog powered by Emanote running solely on Markdown files.";
|
||||
path = with pkgs; [ nix git ];
|
||||
path = with pkgs; [
|
||||
nix
|
||||
git
|
||||
];
|
||||
script = ''
|
||||
cd ${PROJECT_ROOT}
|
||||
nix run github:srid/emanote/${emanote-version} -- run --port ${PORT} --host ${HOST}
|
||||
|
|
|
@ -57,18 +57,5 @@ in
|
|||
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
|
||||
'';
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
@ -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}
|
||||
'';
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Reference in New Issue