Initial commit

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Ellie 2026-02-15 14:57:00 -08:00
commit b8402a9049
82 changed files with 1345 additions and 0 deletions

31
services/website.nix Normal file
View file

@ -0,0 +1,31 @@
{ pkgs, ... }:
let
site = pkgs.copyPathToStore ../data/service-directory;
in
{
services.avahi = {
enable = true;
nssmdns4 = true;
nssmdns6 = true;
publish = {
enable = true;
addresses = true;
domain = true;
workstation = true;
};
};
services.nginx = {
enable = true;
virtualHosts."service-directory" = {
root = site;
locations."/" = {
index = "index.html";
};
};
};
}