mirror of
https://git.sr.ht/~rouven/nixos-config
synced 2025-05-13 07:41:08 +02:00
12 lines
238 B
Nix
12 lines
238 B
Nix
{ config, ... }:
|
|
let
|
|
domain = "shell.vpn.rfive.de";
|
|
in
|
|
{
|
|
services.atuin = {
|
|
enable = true;
|
|
};
|
|
services.caddy.virtualHosts."${domain}".extraConfig = ''
|
|
reverse_proxy 127.0.0.1:${toString config.services.atuin.port}
|
|
'';
|
|
}
|