infra/config/services/atuin.nix
2023-07-06 20:36:22 +02:00

18 lines
393 B
Nix

{config, ...}: {
services.atuin = {
enable = true;
openRegistration = false;
maxHistoryLength = 1024 * 16;
port = 43473;
};
services.nginx.virtualHosts."atuin.winston.sh" = {
forceSSL = true;
enableACME = false;
useACMEHost = "winston.sh";
locations."/" = with config.services.atuin; {
proxyPass = "http://${host}:${toString port}";
};
};
}