dotfiles/hosts/oracle/o001/mods/atuin.nix
RingOfStorms (Joshua Bell) 06fe42789a many updates to lio and o001
2025-04-25 08:59:32 -05:00

24 lines
442 B
Nix

{
config,
...
}:
{
services.atuin = {
enable = true;
openRegistration = false;
openFirewall = false;
host = "127.0.0.1";
port = 8888;
};
services.nginx.virtualHosts."atuin.joshuabell.xyz" = {
enableACME = true;
forceSSL = true;
locations = {
"/" = {
proxyWebsockets = true;
proxyPass = "http://127.0.0.1:${builtins.toString config.services.atuin.port}";
};
};
};
}