1
0
Fork 0
dotfiles/system/nixos/atuin-sync.nix

25 lines
488 B
Nix
Raw Normal View History

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