atuin server

This commit is contained in:
Laureηt 2023-04-23 20:13:39 +02:00
parent ca17686729
commit db2003e4e6
Signed by: Laurent
SSH key fingerprint: SHA256:kZEpW8cMJ54PDeCvOhzreNr4FSh6R13CMGH/POoO8DI
3 changed files with 21 additions and 1 deletions

View file

@ -0,0 +1,19 @@
{ ... }: {
services.atuin = {
enable = true;
openRegistration = false;
maxHistoryLength = 1000000000;
};
services.nginx = {
virtualHosts = {
"atuin.fainsin.bzh" = {
forceSSL = true;
enableACME = true;
locations."/" = { proxyPass = "http://127.0.0.1:8888"; };
};
};
};
}

View file

@ -1 +1 @@
{ imports = [ ./gitea ./blocky ./wireguard ]; }
{ imports = [ ./atuin ./blocky ./gitea ./wireguard ]; }

View file

@ -46,6 +46,7 @@ in {
programs.atuin = {
enable = true;
enableZshIntegration = true;
settings = { sync_address = "https://atuin.fainsin.bzh"; };
};
programs.zsh = {
enable = true;