2023-02-27 17:51:39 +01:00
|
|
|
{
|
2023-07-24 23:39:40 +02:00
|
|
|
services.atuin = {
|
|
|
|
enable = true;
|
2023-02-27 17:51:39 +01:00
|
|
|
|
2023-07-24 23:39:40 +02:00
|
|
|
host = "127.0.0.1";
|
|
|
|
port = 8015;
|
|
|
|
openRegistration = false;
|
|
|
|
openFirewall = false;
|
2023-02-27 17:51:39 +01:00
|
|
|
};
|
2023-02-27 18:00:44 +01:00
|
|
|
|
2023-03-12 20:53:03 +01:00
|
|
|
services.nginx.virtualHosts."atuin-sync.kempkens.io" = {
|
2024-07-18 23:07:07 +02:00
|
|
|
listenAddresses = [ "100.122.253.109" "[fd7a:115c:a1e0::3a01:fd6d]" ];
|
2023-04-03 15:03:52 +02:00
|
|
|
quic = true;
|
2023-03-12 20:53:03 +01:00
|
|
|
http3 = true;
|
|
|
|
|
|
|
|
onlySSL = true;
|
|
|
|
useACMEHost = "kempkens.io";
|
|
|
|
|
|
|
|
locations."/" = {
|
|
|
|
recommendedProxySettings = true;
|
|
|
|
proxyPass = "http://127.0.0.1:8015";
|
|
|
|
};
|
|
|
|
};
|
2023-02-27 17:51:39 +01:00
|
|
|
}
|