{ config, pkgs, ... }: { services.atuin = { enable = true; package = pkgs.unstable.atuin; 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}"; }; }; }