about summary refs log tree commit diff stats
path: root/nix
diff options
context:
space:
mode:
authorAlan Pearce2024-04-20 19:31:21 +0200
committerAlan Pearce2024-04-20 19:31:21 +0200
commit9b3d6d55246912efe01f09d2f01cbe17a5ef1211 (patch)
tree266862333d506bc85186c9e4058302623eedbae1 /nix
parentcc2245f991ca0474e3d4db9fa213be4aa8ccccb7 (diff)
downloadwebsite-9b3d6d55246912efe01f09d2f01cbe17a5ef1211.tar.lz
website-9b3d6d55246912efe01f09d2f01cbe17a5ef1211.tar.zst
website-9b3d6d55246912efe01f09d2f01cbe17a5ef1211.zip
send headers from config.toml
Diffstat (limited to 'nix')
-rw-r--r--nix/default.nix3
1 files changed, 3 insertions, 0 deletions
diff --git a/nix/default.nix b/nix/default.nix
index cd62ebf..2032013 100644
--- a/nix/default.nix
+++ b/nix/default.nix
@@ -10,6 +10,9 @@ let
     pkgs.dockerTools.${type} {
       name = "registry.fly.io/alanpearce-eu";
       tag = dockerTag;
+      contents = [
+        (pkgs.writeTextDir "config.toml" (builtins.readFile ./../config.toml))
+      ];
       config = {
         Cmd = [ "${server}/bin/website" ];
         Env = [