nixos-config/machines/renge/services/onlypain.icu/default.nix
Simon Bruder 909d7864e7
renge/onlypain.icu: Init
This is just a joke, please don’t take it seriously.
2022-04-07 16:13:40 +02:00

22 lines
363 B
Nix

{ pkgs, ... }:
{
services.nginx.virtualHosts = {
"onlypain.icu" = {
forceSSL = true;
enableACME = true;
root = ./.;
locations = {
"/imprint/".alias = "${pkgs.sbruder.imprint}/";
};
};
"www.onlypain.icu" = {
forceSSL = true;
enableACME = true;
globalRedirect = "onlypain.icu";
};
};
}