nixos-server/services/blog.nix

21 lines
389 B
Nix
Raw Permalink Normal View History

2024-05-30 21:57:23 +02:00
{ pkgs, lib, ... }: {
name = "blog";
ports = {
tcp = [ 80 ];
udp = [];
http = 80;
forward = [];
};
config = {
services.nginx = {
enable = true;
recommendedOptimisation = true;
virtualHosts."rachel.cafe" = {
2024-06-21 13:46:23 +02:00
# root = "${lib.rachelcafe.packages.x86_64-linux.default}";
2024-05-30 21:57:23 +02:00
};
};
};
hosts = [ "rachel.cafe" ];
volumes = [];
}