aboutsummaryrefslogtreecommitdiff
path: root/flake.nix
diff options
context:
space:
mode:
authorXe Iaso <me@xeiaso.net>2024-06-08 10:49:18 -0400
committerXe Iaso <me@xeiaso.net>2024-06-08 10:49:28 -0400
commit2f9125d0cbe232dbb0dcd64eab33af356d5d615c (patch)
treec9cbe2476e939d41db0319e23e2205f7b7a02960 /flake.nix
parent92a2b4a91b9d57f5c54673f1228278ee21f5e4b1 (diff)
downloadx-2f9125d0cbe232dbb0dcd64eab33af356d5d615c.tar.xz
x-2f9125d0cbe232dbb0dcd64eab33af356d5d615c.zip
cmd/within.website: fix use of http servemux, deploy to k8s
Signed-off-by: Xe Iaso <me@xeiaso.net>
Diffstat (limited to 'flake.nix')
-rw-r--r--flake.nix17
1 files changed, 15 insertions, 2 deletions
diff --git a/flake.nix b/flake.nix
index 6042e38..b88806c 100644
--- a/flake.nix
+++ b/flake.nix
@@ -111,6 +111,13 @@
];
};
+ within-website = pkgs.buildGo122Module {
+ pname = "within.website";
+ inherit version vendorHash;
+ src = ./.;
+ subPackages = [ "cmd/within.website" ];
+ };
+
azurda = pkgs.buildGo122Module {
pname = "azurda";
inherit version vendorHash;
@@ -262,7 +269,7 @@
path = "make-mastodon-app";
};
- inherit xedn xedn-static robocadey2 azurda mimi mi tourian sapientwindex;
+ inherit xedn xedn-static robocadey2 azurda mimi mi tourian sapientwindex within-website;
aegis = copyFile { pname = "aegis"; };
cadeybot = copyFile { pname = "cadeybot"; };
@@ -276,7 +283,6 @@
uploud = copyFile { pname = "uploud"; };
vest-pit-near = copyFile { pname = "vest-pit-near"; };
whoisfront = copyFile { pname = "whoisfront"; };
- within-website = copyFile { pname = "within.website"; };
yeet = copyFile { pname = "yeet"; };
};
@@ -290,6 +296,7 @@
sapientwindex = self.packages.${system}.sapientwindex;
tourian = self.packages.${system}.tourian;
azurda = self.packages.${system}.azurda;
+ within-website = self.packages.${system}.within-website;
hlang = self.packages.${system}.hlang;
simple = { name, cmd, pkg, contents ? [ pkgs.cacert ] }:
@@ -304,6 +311,12 @@
};
in
{
+ within-website = simple {
+ name = "ghcr.io/xe/x/within-website";
+ pkg = within-website;
+ contents = with pkgs; [ cacert ];
+ cmd = [ "${within-website}/bin/within.website" ];
+ };
azurda = simple {
name = "registry.fly.io/azurda";
pkg = azurda;