nixos-config/2configs/deployment/atuin.nix
2024-09-07 00:17:56 +02:00

13 lines
298 B
Nix

{
services.atuin = {
enable = true;
maxHistory = 900001;
};
services.postgresql.enable = true;
services.nginx.virtualHosts."atuin.euer.krebsco.de" = {
enableACME = true;
forceSSL = true;
locations."/".proxyPass = "http://localhost:${config.services.atuin.port}";
};
}