From 1b8095b82158d79c17744f89cc36c4ce38cb0fc2 Mon Sep 17 00:00:00 2001 From: makefu <github@syntax-fehler.de> Date: Sat, 7 Sep 2024 00:17:56 +0200 Subject: [PATCH] atuin config: init --- 2configs/deployment/atuin.nix | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 2configs/deployment/atuin.nix diff --git a/2configs/deployment/atuin.nix b/2configs/deployment/atuin.nix new file mode 100644 index 0000000..fbdf31c --- /dev/null +++ b/2configs/deployment/atuin.nix @@ -0,0 +1,12 @@ +{ + services.atuin = { + enable = true; + maxHistory = 900001; + }; + services.postgresql.enable = true; + services.nginx.virtualHosts."atuin.euer.krebsco.de" = { + enableACME = true; + forceSSL = true; + locations."/".proxyPass = "http://localhost:${config.services.atuin.port}"; + }; +}