26 lines
383 B
Nix
26 lines
383 B
Nix
{
|
|
config,
|
|
lib,
|
|
pkgs,
|
|
...
|
|
}: {
|
|
services = {
|
|
nginx = {
|
|
virtualHosts = {
|
|
"atuin.szczepan.ski" = {
|
|
forceSSL = true;
|
|
enableACME = true;
|
|
locations = {
|
|
"/" = {proxyPass = "http://127.0.0.1:8888/";};
|
|
};
|
|
};
|
|
};
|
|
};
|
|
|
|
atuin = {
|
|
enable = true;
|
|
openRegistration = true;
|
|
};
|
|
};
|
|
}
|