infrastructure/hosts/hydrogen/services/atuin/default.nix

20 lines
337 B
Nix
Raw Normal View History

2023-04-23 18:13:39 +00:00
{ ... }: {
services.atuin = {
enable = true;
openRegistration = false;
maxHistoryLength = 1000000000;
};
services.nginx = {
virtualHosts = {
"atuin.fainsin.bzh" = {
forceSSL = true;
enableACME = true;
locations."/" = { proxyPass = "http://127.0.0.1:8888"; };
};
};
};
}