19 lines
393 B
Nix
19 lines
393 B
Nix
|
{config, ...}: {
|
||
|
services.atuin = {
|
||
|
enable = true;
|
||
|
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}";
|
||
|
};
|
||
|
};
|
||
|
}
|