From e89457874cb4902e6191d59f5170b65dab9423b1 Mon Sep 17 00:00:00 2001 From: Bill Ewanick Date: Sun, 20 Jul 2025 20:42:18 -0400 Subject: [PATCH] Remove dead projects --- nixos-apps/default.nix | 2 -- nixos-apps/ewanick.com.nix | 5 ++- nixos-apps/fancytypist.com.nix | 13 ------- .../ottawa-swing-dance-society-website.nix | 34 ------------------- 4 files changed, 4 insertions(+), 50 deletions(-) delete mode 100644 nixos-apps/ottawa-swing-dance-society-website.nix diff --git a/nixos-apps/default.nix b/nixos-apps/default.nix index 8c64fbc..8091cf4 100644 --- a/nixos-apps/default.nix +++ b/nixos-apps/default.nix @@ -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 diff --git a/nixos-apps/ewanick.com.nix b/nixos-apps/ewanick.com.nix index 91f6bd6..ecda702 100644 --- a/nixos-apps/ewanick.com.nix +++ b/nixos-apps/ewanick.com.nix @@ -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} diff --git a/nixos-apps/fancytypist.com.nix b/nixos-apps/fancytypist.com.nix index c66808e..012ea66 100644 --- a/nixos-apps/fancytypist.com.nix +++ b/nixos-apps/fancytypist.com.nix @@ -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 - ''; - }; }; } diff --git a/nixos-apps/ottawa-swing-dance-society-website.nix b/nixos-apps/ottawa-swing-dance-society-website.nix deleted file mode 100644 index f019f23..0000000 --- a/nixos-apps/ottawa-swing-dance-society-website.nix +++ /dev/null @@ -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} - ''; - }; - }; -}