tsuki/atuin: set up atuin server

This commit is contained in:
Oystein Kristoffer Tveit 2023-07-12 01:40:49 +02:00
parent fc0e4f6c52
commit 0e3a4c35d2
Signed by: oysteikt
GPG Key ID: 9F2F7D8250F35146
3 changed files with 10 additions and 2 deletions

View File

@ -3,6 +3,8 @@
imports = [
(modulesPath + "/profiles/qemu-guest.nix")
./services/atuin.nix
./services/borg.nix
# ./services/calibre.nix
./services/gitea
./services/grafana

View File

@ -0,0 +1,7 @@
{ ... }:
{
services.atuin = {
enable = true;
openRegistration = false;
};
}

View File

@ -171,12 +171,11 @@
proxy_ssl_verify off;
'';
})
(proxy ["hydra"] "http://localhost:${s ports.hydra}" {})
(proxy ["hydra"] "http://localhost:${s config.services.hydra.port}" {})
(proxy ["atuin"] "http://localhost:${s config.services.atuin.port}" {})
(proxy ["vpn"] "http://localhost:${s config.services.headscale.port}" {
locations."/".proxyWebsockets = true;
})
(proxy ["hydra"] "http://localhost:${s config.services.hydra.port}" {})
] ++ (let
stickerpickers = pkgs.callPackage ../matrix/maunium-stickerpicker.nix {
inherit (inputs) maunium-stickerpicker secrets;